From: Michael Date: Tue, 20 Jun 2017 02:05:16 +0000 (+0000) Subject: Only show the number of workerqueue entries that aren't done X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=be3bfaec80a8283f5e6f49e05e231756bb755548;p=friendica.git Only show the number of workerqueue entries that aren't done --- diff --git a/mod/admin.php b/mod/admin.php index 98558a6de4..349e9c19b3 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -579,7 +579,7 @@ function admin_page_summary(App $a) { $r = qu("SELECT COUNT(*) AS `total` FROM `queue` WHERE 1"); $queue = (($r) ? $r[0]['total'] : 0); - $r = qu("SELECT COUNT(*) AS `total` FROM `workerqueue` WHERE 1"); + $r = qu("SELECT COUNT(*) AS `total` FROM `workerqueue` WHERE NOT `done`"); $workerqueue = (($r) ? $r[0]['total'] : 0); // We can do better, but this is a quick queue status