1
0
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:
milos
2020-11-30 17:42:04 +01:00
parent 1106f259c2
commit 38367d3f48

View File

@@ -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;