From 73031b1f286e9bd425a1410327d62830dd5ab90c Mon Sep 17 00:00:00 2001 From: Adam Bishop Date: Mon, 9 Jul 2018 18:15:29 +0100 Subject: [PATCH] Fix up depth column (#8884) Remove some dead code --- html/pages/pollers/pollers.inc.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/html/pages/pollers/pollers.inc.php b/html/pages/pollers/pollers.inc.php index 7104bf3655..5b83a728b4 100644 --- a/html/pages/pollers/pollers.inc.php +++ b/html/pages/pollers/pollers.inc.php @@ -121,13 +121,6 @@ if (count($rows) !== 0) { $first_row = true; foreach ($stat_row as $stats) { - $health_query = 'SELECT * FROM `poller_cluster_queue_health` WHERE `parent_poller`=' . $poller['id'] . ' AND `poller_type`="' . $stats['poller_type'] . '";'; - - $pending = ""; - foreach (dbFetchRows($health_query) as $health) { - $pending .= 'Group ' . $health['poller_group'] . ': ' . $health['depth'] . '
'; - } - // Emit the row container echo ''; @@ -147,7 +140,7 @@ if (count($rows) !== 0) { '.$stats['poller_type'].' '.$stats['workers'].' '.$stats['devices'].' - '.$pending.' + '.$stats['depth'].' '.$stats['worker_seconds'].' / '.$stats['frequency']*$stats['workers'].''; if ($first_row) {