Manybubbles has uploaded a new change for review.

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

Change subject: Lower throttle on two cirrus jobs
......................................................................

Lower throttle on two cirrus jobs

This lowers the throttle on the job reacting to template changes again
because the current value still wasn't enought to cause a small backlog
to appear.

This introduces a throttle for the job the counts links.  The throttle is
set the same as the template change jobs because we have fewer count links
jobs to deal with then the template change jobs so it should be enough.
The goal of introducing this throttle isn't to create a backlog for
deduplication its to make sure we don't overwhelm elasticsearch with too
many of these at once.

Change-Id: I9ddbdf559371bc882ca2fd851ed79f3f7d3cb817
---
M wmf-config/CirrusSearch-common.php
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/60/161960/1

diff --git a/wmf-config/CirrusSearch-common.php 
b/wmf-config/CirrusSearch-common.php
index e8581f3..25baedc 100644
--- a/wmf-config/CirrusSearch-common.php
+++ b/wmf-config/CirrusSearch-common.php
@@ -40,7 +40,11 @@
 
 # Set the backoff for Cirrus' job that reacts to template changes - slow and 
steady
 # will help prevent spikes in Elasticsearch load.
-$wgJobBackoffThrottling['cirrusSearchLinksUpdate'] = 1.25;
+$wgJobBackoffThrottling['cirrusSearchLinksUpdate'] = 0.75;
+# Also engage a delay for the Cirrus job that counts incoming links to pages 
when
+# pages are newly linked or unlinked.  Too many link count queries at once 
could flood
+# Elasticsearch.
+$wgJobBackoffThrottling['cirrusSearchLinksUpdateSecondary'] = 0.75;
 
 # Ban the hebrew plugin, it is unstable
 $wgCirrusSearchBannedPlugins[] = 'elasticsearch-analysis-hebrew';

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9ddbdf559371bc882ca2fd851ed79f3f7d3cb817
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <[email protected]>

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

Reply via email to