Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1237676?usp=email )

Change subject: config: set minthrottle to 0.1 due to WM Bot Policy
......................................................................

config: set minthrottle to 0.1 due to WM Bot Policy

See https://wikitech.wikimedia.org/wiki/Robot_policy

Bug: T414170
Change-Id: I573b9b8713d7bee95ad8dde82a6cea017fcf62e9
---
M pywikibot/config.py
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Xqt: Verified; Looks good to me, approved




diff --git a/pywikibot/config.py b/pywikibot/config.py
index 16572d4..6bdfc5f 100644
--- a/pywikibot/config.py
+++ b/pywikibot/config.py
@@ -707,11 +707,12 @@
 # 'minthrottle' seconds. This delay may be increased if the server is slow
 # or requests are limited by bot policy, but never beyond 'maxthrottle'
 # seconds. When running multiple bots in parallel, the effective waiting
-# time is increased accordingly.
+# time is increased accordingly. The default setting is 0.1 seconds per
+# https://wikitech.wikimedia.org/wiki/Robot_policy.
 #
 # 'maxlag' is used to control the rate of server access (see below).
 # Set minthrottle to non-zero to use a throttle on read access.
-minthrottle = 0.0
+minthrottle = 0.1
 maxthrottle = 60

 # Slow down the robot such that it never makes a second page edit within

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1237676?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I573b9b8713d7bee95ad8dde82a6cea017fcf62e9
Gerrit-Change-Number: 1237676
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to