Wikidata-Toolkit icon indicating copy to clipboard operation
Wikidata-Toolkit copied to clipboard

Continuous throttling policy for wdtk-wikibaseapi

Open wetneb opened this issue 5 years ago • 2 comments

Background: https://phabricator.wikimedia.org/T240442

Bots currently edit at full speed until the lag reaches 5 seconds. They should instead slow down as the lag rises. We need to introduce a continuous throttling mechanism in WTDK.

wetneb avatar Dec 11 '19 18:12 wetneb

Stalled by https://phabricator.wikimedia.org/T240442#5851541

wetneb avatar Feb 05 '20 11:02 wetneb

Looking at the phabricator task, we could simply expect that throttling is going to be handled server-side, so we should just make sure we handle 429 status codes and retry-after headers appropriately (suggested by @tfmorris in https://github.com/OpenRefine/OpenRefine/issues/2304).

wetneb avatar Jul 04 '20 19:07 wetneb