1
0
Fork 0

Ensure process timeouts are checked also for async processes

pull/10440/head
Jordi Boggiano 2022-01-05 16:49:36 +01:00
parent c2cdc3eb71
commit cb41ad1d4b
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 0 deletions

View File

@ -321,6 +321,8 @@ class ProcessExecutor
if (!$job['process']->isRunning()) {
call_user_func($job['resolve'], $job['process']);
}
$job['process']->checkTimeout();
}
if ($this->runningJobs < $this->maxJobs) {