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 d2e9953 commit 1d0ab53Copy full SHA for 1d0ab53
src/AsyncTask.php
@@ -321,6 +321,11 @@ private function hasTimedOut(): bool
321
}
322
unset($lastError);
323
324
+ // the remaining checks use the time-limit variable, so if it is unset, then there is nothing to check
325
+ if ($this->timeLimit <= 0) {
326
+ return false;
327
+ }
328
+
329
// not a runtime timeout; one of the following:
330
// it ended within the time limit; or
331
// on Unix, it ran out of time so it is getting a SIGTERM from us; or
0 commit comments