1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 14:16:42 +02:00

set to 10 seconds the default timeout during writing data on a socket, to aovid possible issue and with a very low risk to break backward compatibility @Seldaek

This commit is contained in:
Danilo Silva
2015-10-28 16:13:45 +01:00
parent 65cc3083b6
commit 988d595351

View File

@@ -25,7 +25,7 @@ class SocketHandler extends AbstractProcessingHandler
private $connectionTimeout; private $connectionTimeout;
private $resource; private $resource;
private $timeout = 0; private $timeout = 0;
private $writingTimeout = 0; private $writingTimeout = 10;
private $lastSentBytes = null; private $lastSentBytes = null;
private $persistent = false; private $persistent = false;
private $errno; private $errno;