mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user