]> git.mxchange.org Git - friendica.git/commitdiff
Update Worker.php
authormiqrogroove <miqrogroove@gmail.com>
Tue, 19 Jun 2018 22:55:55 +0000 (18:55 -0400)
committerGitHub <noreply@github.com>
Tue, 19 Jun 2018 22:55:55 +0000 (18:55 -0400)
src/Core/Worker.php

index f835660920241a8e4744e101799f157a52879468..d4257f1246a79ebc2c7527f09e6d94c38515f2ac 100644 (file)
@@ -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')) {