mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-07 13:46:38 +02:00
exit prematurely when data has been written to avoid unnecessary time check @Seldaek
This commit is contained in:
@@ -321,6 +321,8 @@ class SocketHandler extends AbstractProcessingHandler
|
||||
if ($sent !== $this->lastSentBytes) {
|
||||
$this->lastWritingAt = time();
|
||||
$this->lastSentBytes = $sent;
|
||||
|
||||
return false;
|
||||
} else {
|
||||
usleep(100);
|
||||
}
|
||||
|
Reference in New Issue
Block a user