jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Reedy: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I4d0c128f253ccbad89f6078438df5311719aa343
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Manybubbles <[email protected]>
Gerrit-Reviewer: Chad <[email protected]>
Gerrit-Reviewer: Reedy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to