Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/96405
Change subject: Reduced isQueueDeprioritized() process cache time to 1 second
......................................................................
Reduced isQueueDeprioritized() process cache time to 1 second
* This should let less sub-job spawning slip through and keep the refreshLinks
queue size down a bit
Change-Id: I4edf3a4ee9e64466cf10774f8a6d15fff3a46e39
---
M includes/job/JobQueueGroup.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/05/96405/1
diff --git a/includes/job/JobQueueGroup.php b/includes/job/JobQueueGroup.php
index fa7fee5..a7491e4 100644
--- a/includes/job/JobQueueGroup.php
+++ b/includes/job/JobQueueGroup.php
@@ -331,7 +331,7 @@
* @return bool
*/
public function isQueueDeprioritized( $type ) {
- if ( $this->cache->has( 'isDeprioritized', $type, 5 ) ) {
+ if ( $this->cache->has( 'isDeprioritized', $type, 1 ) ) {
return $this->cache->get( 'isDeprioritized', $type );
}
if ( $type === 'refreshLinks2' ) {
--
To view, visit https://gerrit.wikimedia.org/r/96405
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4edf3a4ee9e64466cf10774f8a6d15fff3a46e39
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