From 867431cc4dcd6b1dbc48f3ea82a51272639f49ad Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 12 Dec 2013 13:57:00 -0800 Subject: [PATCH] Removed stray ! in isQueueDeprioritized() Change-Id: I7a4b7f6205350dd61cb37a6cd9b57d40cd74e6c8 --- includes/job/JobQueueGroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/job/JobQueueGroup.php b/includes/job/JobQueueGroup.php index a3ec8a7fea..4f11bbf7fa 100644 --- a/includes/job/JobQueueGroup.php +++ b/includes/job/JobQueueGroup.php @@ -347,7 +347,7 @@ class JobQueueGroup { // later jobs have not been done yet. This helps throttle queue spam. // @TODO: this is mostly a WMF-specific hack and should be removed when // refreshLinks2 jobs are drained. - $deprioritized = !$this->get( 'refreshLinks' )->getSize() > 10000; + $deprioritized = $this->get( 'refreshLinks' )->getSize() > 10000; $this->cache->set( 'isDeprioritized', $type, $deprioritized ); return $deprioritized; -- 2.20.1