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

Change subject: Config2: limit the number of retries to 15
......................................................................

Config2: limit the number of retries to 15

This limits the waiting time until timeout from 43 min to 23.

Bug:T165898

Change-Id: Icb13572c91c2eb5ab1e8844ab4073205fe1f29f3
---
M pywikibot/config2.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/14/354714/1

diff --git a/pywikibot/config2.py b/pywikibot/config2.py
index 9f732f2..78898cc 100644
--- a/pywikibot/config2.py
+++ b/pywikibot/config2.py
@@ -649,7 +649,7 @@
 step = -1
 
 # Maximum number of times to retry an API request before quitting.
-max_retries = 25
+max_retries = 15
 # Minimum time to wait before resubmitting a failed API request.
 retry_wait = 5
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb13572c91c2eb5ab1e8844ab4073205fe1f29f3
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Strainu <w...@strainu.ro>

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

Reply via email to