Merge pull request #6719 from annando/worker-scheduler
New scheduler mechanism - now to the correct branch
This commit is contained in:
commit
4375edd63e
4 changed files with 187 additions and 240 deletions
|
@ -41,11 +41,7 @@ function worker_init()
|
|||
|
||||
Worker::callWorker();
|
||||
|
||||
$passing_slow = false;
|
||||
$entries = 0;
|
||||
$deferred = 0;
|
||||
|
||||
if ($r = Worker::workerProcess($passing_slow, $entries, $deferred)) {
|
||||
if ($r = Worker::workerProcess()) {
|
||||
// On most configurations this parameter wouldn't have any effect.
|
||||
// But since it doesn't destroy anything, we just try to get more execution time in any way.
|
||||
set_time_limit(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue