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
pywikibot-commits@lists.wikimedia.org