From eb8544859c432c0bdfb78e4bf4ee26cdaa6dad1d Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 18 Mar 2015 10:45:34 +0000 Subject: [PATCH] Set event socket break to 8000. --- resources/switch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/switch.php b/resources/switch.php index cca22ab65e..e84e89792a 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -320,10 +320,10 @@ function event_socket_request($fp, $cmd) { } } - usleep(20); //allow time for reponse + usleep(50); //allow time for reponse //prevent an endless loop //optional because of script timeout - if ($i > 2000) { break; } + if ($i > 8000) { break; } if ($content_length > 0) { //is content_length set //stop reading if all content has been read.