Less CPU used to listen to event socket.

This commit is contained in:
FusionPBX
2022-07-31 10:15:42 -06:00
committed by GitHub
parent c20e83e64c
commit 7a71f0bf0a

View File

@@ -72,7 +72,7 @@ class event_socket {
$kv = explode(':', $line, 2);
$content[trim($kv[0])] = trim($kv[1]);
}
usleep(100);
usleep(1000);
if (feof($this->fp)) {
break;