]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker.php
Moved functions out of boot.php into class
[friendica.git] / src / Core / Worker.php
index 870a5dfb248b2fa22be662ada9a8aac31f27c88e..bf7e9f3bc895943a6f31c4d9c48c02893416552f 100644 (file)
@@ -618,7 +618,7 @@ class Worker
                $active = self::activeWorkers();
 
                // Decrease the number of workers at higher load
-               $load = current_load();
+               $load = System::currentLoad();
                if ($load) {
                        $maxsysload = intval(Config::get("system", "maxloadavg", 50));