Skip to content

Commit 161388f

Browse files
committed
Make timeout check stricter
1 parent 5ad1551 commit 161388f

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
@@ -266,7 +266,7 @@ protected function checkTaskTimeout(): void
266266
if ($this->laravelStartVal !== null) {
267267
// we know when we have started; this can be null when running some test cases
268268
$timeElapsed = microtime(true) - $this->laravelStartVal;
269-
if ($timeElapsed > $this->timeLimit) {
269+
if ($timeElapsed >= $this->timeLimit) {
270270
// timeout!
271271
$hasTimedOut = true;
272272
}

0 commit comments

Comments
 (0)