]> git.mxchange.org Git - friendica.git/commitdiff
Output better comparable log entries for the worker
authorMichael Vogel <icarus@dabo.de>
Fri, 23 Aug 2019 05:23:32 +0000 (07:23 +0200)
committerMichael Vogel <icarus@dabo.de>
Fri, 23 Aug 2019 05:23:32 +0000 (07:23 +0200)
src/Core/Worker.php

index 3533f24e45e8b3df00802ece0cc82584b0a1d112..1fd5378abbc1dd79b07d49e0b8c3db05883e25a5 100644 (file)
@@ -701,6 +701,8 @@ class Worker
                                DBA::close($jobs);
                        }
 
+                       $waiting_processes -= $deferred;
+
                        $listitem[0] = "0:" . max(0, $idle_workers);
 
                        $processlist .= ' ('.implode(', ', $listitem).')';