Skip to content

Commit e46119b

Browse files
committed
Add back the epsilon time
1 parent 95290f5 commit e46119b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncTask.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ private function hasTimedOut(): bool
333333
$timeElapsed = microtime(true) - $this->laravelStartVal;
334334
// temp let runner print me the stats
335335
fwrite(STDERR, "microtime elapsed $timeElapsed" . PHP_EOL);
336-
if ($timeElapsed >= $this->timeLimit) {
336+
if ($timeElapsed + self::TIME_EPSILON >= $this->timeLimit) {
337337
// yes
338338
return true;
339339
}

0 commit comments

Comments
 (0)