Giuseppe Lavagetto has uploaded a new change for review.

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

Change subject: Poolcounter: disable search temporarily
......................................................................

Poolcounter: disable search temporarily

As search is not working and ES is in bad shape, try to make it less of
a burden by blocking searches via poolcounter

Change-Id: Ic7c3559cc4b8fa98b79a661e9ecc3a06ce373e88
---
M wmf-config/PoolCounterSettings-common.php
1 file changed, 8 insertions(+), 8 deletions(-)


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

diff --git a/wmf-config/PoolCounterSettings-common.php 
b/wmf-config/PoolCounterSettings-common.php
index ca4399e..657fa1f 100644
--- a/wmf-config/PoolCounterSettings-common.php
+++ b/wmf-config/PoolCounterSettings-common.php
@@ -14,30 +14,30 @@
        'CirrusSearch-Search' => array(
                'class' => 'PoolCounter_Client',
                'timeout' => 15,
-               'workers' => 432,
-               'maxqueue' => 600,
+               'workers' => 0,
+               'maxqueue' => 0,
        ),
        // Super common and mostly fast
        'CirrusSearch-Prefix' => array(
                'class' => 'PoolCounter_Client',
                'timeout' => 15,
-               'workers' => 432,
-               'maxqueue' => 600,
+               'workers' => 0,
+               'maxqueue' => 0,
        ),
        // Regex searches are much heavier then regular searches so we limit the
        // concurrent number.
        'CirrusSearch-Regex' => array(
                'class' => 'PoolCounter_Client',
                'timeout' => 60,
-               'workers' => 10,
-               'maxqueue' => 20,
+               'workers' => 0,
+               'maxqueue' => 0,
        ),
        // These should be very very fast and reasonably rare
        'CirrusSearch-NamespaceLookup' => array(
                'class' => 'PoolCounter_Client',
                'timeout' => 5,
-               'workers' => 50,
-               'maxqueue' => 200,
+               'workers' => 0,
+               'maxqueue' => 0,
        ),
        'FileRender' => array(
                'class' => 'PoolCounter_Client',

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

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

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

Reply via email to