increase default timeout on backend calls

This commit is contained in:
Ad Schellevis 2015-03-03 14:00:26 +01:00
parent 8d0c2d2308
commit f2ce49486a

View File

@ -54,7 +54,7 @@ class Backend
* @return string
* @throws \Exception
*/
public function sendEvent($event, $timeout = 60)
public function sendEvent($event, $timeout = 120)
{
$stream = stream_socket_client('unix://'.$this->configdSocket, $errorNumber, $errorMessage, $timeout);
if ($stream === false) {