From: miqrogroove Date: Tue, 19 Jun 2018 22:55:55 +0000 (-0400) Subject: Update Worker.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0dbddb240c14a161d4741001f156ba032643270e;p=friendica.git Update Worker.php --- diff --git a/src/Core/Worker.php b/src/Core/Worker.php index f835660920..d4257f1246 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -635,9 +635,7 @@ class Worker $target = $slope * ($maxqueues - 1); $queues = intval(ceil($target)); } - $exponent = 3; - $slope = $maxqueues / pow($maxsysload, $exponent); - $queues = ceil($slope * pow(max(0, $maxsysload - $load), $exponent)); + $processlist = ''; if (Config::get('system', 'worker_debug')) {