Browse Source

Update Worker.php

pull/5248/head
miqrogroove 4 years ago committed by GitHub
parent
commit
0dbddb240c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/Core/Worker.php

4
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')) {

Loading…
Cancel
Save