Manybubbles has uploaded a new change for review.

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

Change subject: Lower Cirrus regex timeouts
......................................................................

Lower Cirrus regex timeouts

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


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

diff --git a/wmf-config/CirrusSearch-common.php 
b/wmf-config/CirrusSearch-common.php
index dee4884..bcbc85c 100644
--- a/wmf-config/CirrusSearch-common.php
+++ b/wmf-config/CirrusSearch-common.php
@@ -38,6 +38,10 @@
 # Raise the refresh interval to save some CPU at the cost of being slightly 
less realtime.
 $wgCirrusSearchRefreshInterval = 30;
 
+# Lower the regex timeouts - the defaults are too high in an environment with 
reverse proxies.
+$wgCirrusSearchSearchShardTimeout[ 'regex' ] = '40s';
+$wgCirrusSearchClientSideSearchTimeout[ 'regex' ] = 80;
+
 # Set the backoff for Cirrus' job that reacts to template changes - slow and 
steady
 # will help prevent spikes in Elasticsearch load.
 $wgJobBackoffThrottling['cirrusSearchLinksUpdate'] = 0.75;

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

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