Skip to content

Commit 6837265

Browse files
committed
Stabilize timeout checking
1 parent 35db912 commit 6837265

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
@@ -340,7 +340,7 @@ private function hasTimedOut(): bool
340340
$timeElapsed = microtime(true) - $this->laravelStartVal;
341341
// temp let runner print me the stats
342342
fwrite(STDERR, "microtime elapsed $timeElapsed" . PHP_EOL);
343-
if ($timeElapsed + self::TIME_EPSILON >= $this->timeLimit) {
343+
if ($timeElapsed >= $this->timeLimit) {
344344
// yes
345345
return true;
346346
}

0 commit comments

Comments
 (0)