]> git.mxchange.org Git - friendica.git/commitdiff
Only show the number of workerqueue entries that aren't done
authorMichael <heluecht@pirati.ca>
Tue, 20 Jun 2017 02:05:16 +0000 (02:05 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 20 Jun 2017 02:05:16 +0000 (02:05 +0000)
mod/admin.php

index 98558a6de48d84a52f01bf5a296cb09f20e937f3..349e9c19b3387311029284df908a14bf0782d166 100644 (file)
@@ -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