diff --git a/src/Internal/TimeoutWatcher.php b/src/Internal/TimeoutWatcher.php index a55332d..c9a8c87 100644 --- a/src/Internal/TimeoutWatcher.php +++ b/src/Internal/TimeoutWatcher.php @@ -31,7 +31,7 @@ public function reschedule(): void public function watch(): void { - $this->callbackId = EventLoop::repeat($this->interval->toSeconds(), function (): void { + $this->callbackId = EventLoop::repeat($this->interval->toSeconds(precision: 4), function (): void { $this->queue->pushAsync(null)->ignore(); }); }