Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/101118


Change subject: Removed stray ! in isQueueDeprioritized()
......................................................................

Removed stray ! in isQueueDeprioritized()

Change-Id: I7a4b7f6205350dd61cb37a6cd9b57d40cd74e6c8
---
M includes/job/JobQueueGroup.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/18/101118/1

diff --git a/includes/job/JobQueueGroup.php b/includes/job/JobQueueGroup.php
index a3ec8a7..4f11bbf 100644
--- a/includes/job/JobQueueGroup.php
+++ b/includes/job/JobQueueGroup.php
@@ -347,7 +347,7 @@
                        // 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;

-- 
To view, visit https://gerrit.wikimedia.org/r/101118
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7a4b7f6205350dd61cb37a6cd9b57d40cd74e6c8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to