Code cleanup

This commit is contained in:
Michael 2019-02-17 18:55:17 +00:00
parent 01d6ba85ff
commit 061d959e7f
2 changed files with 38 additions and 63 deletions

View file

@ -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);