Set this value to 20.
Improves page load times for pages using event socket.
This commit is contained in:
parent
7be9a3e0a1
commit
2e62e0316b
|
|
@ -72,7 +72,7 @@ class event_socket {
|
|||
$kv = explode(':', $line, 2);
|
||||
$content[trim($kv[0])] = trim($kv[1]);
|
||||
}
|
||||
usleep(20000);
|
||||
usleep(20);
|
||||
|
||||
if (feof($this->fp)) {
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue