From 915e1f07d3ca478f94bc6aefcc3bbb96d4f9fe4d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 19 Aug 2014 14:13:30 -0700 Subject: [PATCH] Made showJobs.php show queues with just abandoned jobs too Change-Id: I7fbf000c9b9edf433ac6723843a96fcaf937b5c7 --- maintenance/showJobs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/showJobs.php b/maintenance/showJobs.php index 38f346b40d..b8dc554841 100644 --- a/maintenance/showJobs.php +++ b/maintenance/showJobs.php @@ -64,7 +64,7 @@ class ShowJobs extends Maintenance { $claimed = $queue->getAcquiredCount(); $abandoned = $queue->getAbandonedCount(); $active = max( 0, $claimed - $abandoned ); - if ( ( $pending + $claimed + $delayed ) > 0 ) { + if ( ( $pending + $claimed + $delayed + $abandoned ) > 0 ) { $this->output( "{$type}: $pending queued; " . "$claimed claimed ($active active, $abandoned abandoned); " . -- 2.20.1