Xqt added a comment.
In T242081#6244819 <https://phabricator.wikimedia.org/T242081#6244819>, @Bugreporter wrote: > Pywikibot should allow infinite retry on maxlag timeout (unless in unit tests). At least the default number of retries should be increased to 1000. As noted above the max_retries parameter can be set in user_config.py. To have a different max_retries parameter for several scripts, you may use it as global parameter as the documentation says: -<config var>:n You may use all given numeric config variables as option and modify it with command line. set it like: `pwb.py <your script> -max_retries:1000` This only works if <your script> calls `pywikibot.handle_args()`. If it does not you can use the pwb.py wrapper to set global args: `pwb.py -max_retries:1000 <your script>` Probably T254435 <https://phabricator.wikimedia.org/T254435> must be solved first for it for some cases. TASK DETAIL https://phabricator.wikimedia.org/T242081 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Alchimista, Bugreporter, Masti, THE_IT, SilentSpike, Aschroet, Multichill, Xqt, Ladsgroup, Strainu, Aklapper, pywikibot-bugs-list, Dvorapa, JohnsonLee01, SHEKH, Dijkstra, Alter-paule, Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Altostratus, Avicennasis, mys_721tx, jayvdb, Rxy, Krenair
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
