mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Quick fix PHP notices in various files
- Remove unused variables - Fix variable name typos - Use x() and defaults() to fix undefined index - Add back uninitialized variables
This commit is contained in:
parent
861c4c7474
commit
9f04017e27
9 changed files with 41 additions and 35 deletions
|
@ -606,6 +606,7 @@ class Worker
|
|||
$exponent = 3;
|
||||
$slope = $maxworkers / pow($maxsysload, $exponent);
|
||||
$queues = ceil($slope * pow(max(0, $maxsysload - $load), $exponent));
|
||||
$processlist = '';
|
||||
|
||||
if (Config::get('system', 'worker_debug')) {
|
||||
// Create a list of queue entries grouped by their priority
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue