Increase the timeout to 30000 microseconds.

30,000 Microseconds = 0.03 Seconds. Longer timeout reduces the CPU. If the timeout is too long then the Status -> SIP STATUS page will take longer to load.
This commit is contained in:
FusionPBX
2022-08-27 16:45:07 -06:00
committed by GitHub
parent 09dbdfb79f
commit a43388bace

View File

@@ -112,8 +112,7 @@ class event_socket {
if (!$fp) {
return false;
}
socket_set_timeout($fp, 0, 1000);
socket_set_timeout($fp, 0, 30000);
socket_set_blocking($fp, true);
$this->fp = $fp;