From aba7c9f08c6dc42944bbdb8af9a64c624d159066 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 2 Jun 2019 03:16:18 +0200 Subject: [PATCH] Remove queue from Admin/Summary --- src/Module/Admin/Summary.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Module/Admin/Summary.php b/src/Module/Admin/Summary.php index 6261ac75ca..ca042c6fa7 100644 --- a/src/Module/Admin/Summary.php +++ b/src/Module/Admin/Summary.php @@ -146,8 +146,6 @@ class Summary extends BaseAdminModule $pending = Register::getPendingCount(); - $queue = DBA::count('queue', []); - $deferred = DBA::count('workerqueue', ['`executed` <= ? AND NOT `done` AND `next_try` > ?', DBA::NULL_DATETIME, DateTimeFormat::utcNow()]); @@ -155,7 +153,7 @@ class Summary extends BaseAdminModule DBA::NULL_DATETIME, DateTimeFormat::utcNow()]); // We can do better, but this is a quick queue status - $queues = ['label' => L10n::t('Message queues'), 'queue' => $queue, 'deferred' => $deferred, 'workerq' => $workerqueue]; + $queues = ['label' => L10n::t('Message queues'), 'deferred' => $deferred, 'workerq' => $workerqueue]; $variables = DBA::toArray(DBA::p('SHOW variables LIKE "max_allowed_packet"')); $max_allowed_packet = $variables ? $variables[0]['Value'] : 0; -- 2.39.5