Aaron Schulz has uploaded a new change for review.

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

Change subject: Push post-edit RefreshLinks jobs into 'refresLinksPrioritized'
......................................................................

Push post-edit RefreshLinks jobs into 'refresLinksPrioritized'

Previously the 'prioritize' flag was set in getAsJobSpecification()
but the job still went into the regular 'refreshLinks' queue. Since
the parser cache was just saved, they should be fast to run. The
separate queue stops them from getting stuck behind template updates.

Change-Id: I46c5760702d862dc9288618ee5eff3897f6e838b
---
M includes/deferred/LinksUpdate.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/32/247732/1

diff --git a/includes/deferred/LinksUpdate.php 
b/includes/deferred/LinksUpdate.php
index d996870..2131226 100644
--- a/includes/deferred/LinksUpdate.php
+++ b/includes/deferred/LinksUpdate.php
@@ -939,7 +939,7 @@
                return array(
                        'wiki' => $this->mDb->getWikiID(),
                        'job'  => new JobSpecification(
-                               'refreshLinks',
+                               'refreshLinksPrioritized',
                                array( 'prioritize' => true ),
                                array( 'removeDuplicates' => true ),
                                $this->getTitle()

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I46c5760702d862dc9288618ee5eff3897f6e838b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to