diff --git a/plugins/dynamix/scripts/feedback b/plugins/dynamix/scripts/feedback index dc999d74e..a4ab53c69 100755 --- a/plugins/dynamix/scripts/feedback +++ b/plugins/dynamix/scripts/feedback @@ -25,7 +25,7 @@ require_once "$docroot/webGui/include/Translations.php"; function write($message){ $nchan = curl_init(); curl_setopt_array($nchan,[ - CURLOPT_URL => 'http://localhost/pub/feedback?buffer_length=0', + CURLOPT_URL => 'http://localhost/pub/feedback?buffer_length=1', CURLOPT_UNIX_SOCKET_PATH => '/var/run/nginx.socket', CURLOPT_POST => 1, CURLOPT_POSTFIELDS => $message, @@ -188,6 +188,6 @@ $script[] = " \$('#optFeatureRequest').click();"; $script[] = "});"; $script[] = ""; -usleep(300000); +usleep(100000); write(implode($style).implode($html).implode($script)); ?> diff --git a/plugins/dynamix/scripts/parity_history b/plugins/dynamix/scripts/parity_history index f2cce2af9..0af6c0540 100755 --- a/plugins/dynamix/scripts/parity_history +++ b/plugins/dynamix/scripts/parity_history @@ -27,7 +27,7 @@ $month = [' Jan '=>'-01-',' Feb '=>'-02-',' Mar '=>'-03-',' Apr '=>'-04-',' May function write($message){ $nchan = curl_init(); curl_setopt_array($nchan,[ - CURLOPT_URL => 'http://localhost/pub/phistory?buffer_length=0', + CURLOPT_URL => 'http://localhost/pub/phistory?buffer_length=1', CURLOPT_UNIX_SOCKET_PATH => '/var/run/nginx.socket', CURLOPT_POST => 1, CURLOPT_POSTFIELDS => $message, @@ -78,6 +78,6 @@ if ($list) { } else { $list[] = ""._('No parity check history present')."!"; } -usleep(300000); +usleep(100000); write($head.implode($list).""); ?> diff --git a/plugins/dynamix/scripts/select_case b/plugins/dynamix/scripts/select_case index 9d3dd2e37..b9e2b59b3 100755 --- a/plugins/dynamix/scripts/select_case +++ b/plugins/dynamix/scripts/select_case @@ -25,7 +25,7 @@ require_once "$docroot/webGui/include/Translations.php"; function write($message){ $nchan = curl_init(); curl_setopt_array($nchan,[ - CURLOPT_URL => 'http://localhost/pub/selectcase?buffer_length=0', + CURLOPT_URL => 'http://localhost/pub/selectcase?buffer_length=1', CURLOPT_UNIX_SOCKET_PATH => '/var/run/nginx.socket', CURLOPT_POST => 1, CURLOPT_POSTFIELDS => $message, @@ -85,6 +85,6 @@ $select = substr($cmodel,-4)=='.png' ? 'color:#e68a00' : ''; $html[] = ""; $html[] = ""; -usleep(300000); +usleep(100000); write(implode($style).implode($script).implode($html)); ?> diff --git a/plugins/dynamix/scripts/system_information b/plugins/dynamix/scripts/system_information index a0226c9d9..94c3e54e6 100755 --- a/plugins/dynamix/scripts/system_information +++ b/plugins/dynamix/scripts/system_information @@ -25,7 +25,7 @@ require_once "$docroot/webGui/include/Translations.php"; function write($message){ $nchan = curl_init(); curl_setopt_array($nchan,[ - CURLOPT_URL => 'http://localhost/pub/sysinfo?buffer_length=0', + CURLOPT_URL => 'http://localhost/pub/sysinfo?buffer_length=1', CURLOPT_UNIX_SOCKET_PATH => '/var/run/nginx.socket', CURLOPT_POST => 1, CURLOPT_POSTFIELDS => $message, @@ -191,6 +191,6 @@ $list[] = ""._('Kernel').":$kernel"; $list[] = ""._('OpenSSL').":$openssl"; $list[] = ""._('Uptime').":"; -usleep(300000); +usleep(100000); write($style.implode($list)); ?>