mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 12:17:35 +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
|
||||
$writingTimeoutMs = $this->writingTimeout * 1000;
|
||||
|
Reference in New Issue
Block a user