mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 20:57:36 +02:00
add support to define writetimeout in ms
This commit is contained in:
@@ -352,7 +352,7 @@ class SocketHandler extends AbstractProcessingHandler
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private function writingIsTimedOut($sent)
|
private function writingIsTimedOut(int $sent): bool
|
||||||
{
|
{
|
||||||
// convert to ms
|
// convert to ms
|
||||||
$writingTimeoutMs = $this->writingTimeout * 1000;
|
$writingTimeoutMs = $this->writingTimeout * 1000;
|
||||||
|
Reference in New Issue
Block a user