We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 164799f commit cbab35fCopy full SHA for cbab35f
1 file changed
src/Timer/Timers.php
@@ -30,7 +30,7 @@ public function getTime()
30
public function add(TimerInterface $timer)
31
{
32
$interval = $timer->getInterval();
33
- $scheduledAt = $interval + $this->getTime();
+ $scheduledAt = $interval + microtime(true);
34
35
$this->timers->attach($timer, $scheduledAt);
36
$this->scheduler->insert($timer, -$scheduledAt);
0 commit comments