Urbanecm has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/332738 )

Change subject: [throttle] Add one rule
......................................................................

[throttle] Add one rule

Bug: T154312
Change-Id: Ibd5f3edf77049a0d6cbe65aacd51f5aac7fe196b
---
M wmf-config/throttle.php
1 file changed, 17 insertions(+), 0 deletions(-)


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

diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 5893890..d5f11e4 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -28,6 +28,15 @@
 # ];
 ## Add throttling definitions below.
 
+$wmgMaharashtraEventsWikis = [
+        "mrwiki",
+        "mrwiktionary",
+        "mrwikisource",
+        "mrwikibooks",
+        "mrwikiquote",
+        "enwiki",
+        "commonswiki",
+];
 
 $wmgThrottlingExceptions[] = [ // T154245
        'from' => '2017-01-20T0:00 +0:00',
@@ -69,6 +78,14 @@
        'value' => 30 // 20 expected
 ];
 
+$wmgThrottlingExceptions[] = [ // T154312
+       'from' => '2017-01-19T09:00 +5:30',
+       'to' => '2017-01-19T18:00 +5:30',
+       'range' => '103.19.18.0/24',
+       'dbname' => $wmgMaharashtraEventsWikis,
+       'value' => 60 // 40-50 expected
+];
+
 ## Add throttling definitions above.
 
 /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibd5f3edf77049a0d6cbe65aacd51f5aac7fe196b
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Urbanecm <martin.urba...@wikimedia.cz>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to