Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION comms.http.request <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.comms.html#comms.http.request> catches any `retry-after` and stores its value with the Throttle <https://doc.wikimedia.org/pywikibot/master/api_ref/throttle.html#throttle.Throttle> object of the current site. But this is only used with Throttle.lag() <https://doc.wikimedia.org/pywikibot/master/api_ref/throttle.html#throttle.Throttle.lag> which is called by Request.submit <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.data.html#data.api.Request.submit> if the Action API has a maxlag code. Recently the Wikimedia frontend restricts API calls and gives a 429 http code with retry-after value. This is not respected yet but a wait cycle is started and the wait cycle delay is mostly greater than the given retry-after value. Anyway the retry-after should be respected with the next API access. TASK DETAIL https://phabricator.wikimedia.org/T414354 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
