Removed stray ! in isQueueDeprioritized()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 12 Dec 2013 21:57:00 +0000 (13:57 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 12 Dec 2013 21:57:00 +0000 (13:57 -0800)
Change-Id: I7a4b7f6205350dd61cb37a6cd9b57d40cd74e6c8

includes/job/JobQueueGroup.php

index a3ec8a7..4f11bbf 100644 (file)
@@ -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;