Manybubbles has uploaded a new change for review.

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

Change subject: Turn on checkDelay for a cirrus job
......................................................................

Turn on checkDelay for a cirrus job

The secondary update job has a delay of a few seconds to make sure that
Elasticsearch has completed a refresh cycle between when the data that the
job needs is added and when the job is run.

Change-Id: I4aa7aeb8ff7243cf65275e34dd80dc66b1ff14ba
---
M wmf-config/CirrusSearch-common.php
1 file changed, 6 insertions(+), 0 deletions(-)


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

diff --git a/wmf-config/CirrusSearch-common.php 
b/wmf-config/CirrusSearch-common.php
index b648c0d..913b163 100644
--- a/wmf-config/CirrusSearch-common.php
+++ b/wmf-config/CirrusSearch-common.php
@@ -32,6 +32,12 @@
 # the index.
 $wgCirrusSearchReplicaCount = array( 'content' => 2, 'general' => 2 );
 
+# The secondary update job has a delay of a few seconds to make sure that 
Elasticsearch
+# has completed a refresh cycle between when the data that the job needs is 
added and
+# when the job is run.
+$wgJobTypeConf['cirrusSearchLinksUpdateSecondary'] = array( 'checkDelay' => 
true ) +
+       $wgJobTypeConf['default'];
+
 # Settings customized per index.
 $wgCirrusSearchShardCount = $wmgCirrusSearchShardCount;
 $wgCirrusSearchUseAggressiveSplitting = $wmgCirrusSearchUseAggressiveSplitting;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4aa7aeb8ff7243cf65275e34dd80dc66b1ff14ba
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