jenkins-bot has submitted this change and it was merged. (
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(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
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: merged
Gerrit-Change-Id: Icb13572c91c2eb5ab1e8844ab4073205fe1f29f3
Gerrit-PatchSet: 4
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Strainu <wiki(a)strainu.ro>
Gerrit-Reviewer: Magul <tomasz.magulski(a)gmail.com>
Gerrit-Reviewer: Strainu <wiki(a)strainu.ro>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>