Ensure process timeouts are checked also for async processes
parent
c2cdc3eb71
commit
cb41ad1d4b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue