Xqt closed this task as "Declined".
Xqt added a comment.

Most of this throttleling might be caused by the server maxlag lagtime which means the server is too busy. You may refer the log where you could find the corresponding message "Pausing due to database lag: ". The default value is 5 seconds. This couldn't be overwritten by the -maxlag option but you shouldn't (without a very goof reason) because this would priorize your request and impair other bots and increase the server lag further.

There is another thread in T144023 to use the retry-after value which gives a more accureate delay instead of just increasing the wait time.
The patch is ready but it fails due to some obsure test patches and I haven't found the trick yet. Maybe that patch may help for this issue.

Anyway it is required to throttle down bot action when server has a lagtime.


TASK DETAIL
https://phabricator.wikimedia.org/T170621

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, zhuyifei1999, Framawiki, Mpaa, pywikibot-bugs-list, Aklapper, Jar, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to