increase max_socket_tries to 10 as #470
This commit is contained in:
parent
f33b127e7e
commit
eb5f299512
|
@ -46,7 +46,7 @@ switch ( $_REQUEST['command'] )
|
||||||
}
|
}
|
||||||
|
|
||||||
$remSockFile = ZM_PATH_SOCKS.'/zms-'.sprintf("%06d",$_REQUEST['connkey']).'s.sock';
|
$remSockFile = ZM_PATH_SOCKS.'/zms-'.sprintf("%06d",$_REQUEST['connkey']).'s.sock';
|
||||||
$max_socket_tries = 3;
|
$max_socket_tries = 10;
|
||||||
while ( !file_exists($remSockFile) && $max_socket_tries-- ) //sometimes we are too fast for our own good, if it hasn't been setup yet give it a second.
|
while ( !file_exists($remSockFile) && $max_socket_tries-- ) //sometimes we are too fast for our own good, if it hasn't been setup yet give it a second.
|
||||||
sleep(1);
|
sleep(1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue