stephsharp/badgeoverflow

Respect Stack Exchange API backoff across widgets

Opened this issue · 0 comments

Respect a backoff across jobs, not just within a job.

E.g. Recent Badges job crashes with a throttle violation if a response in the Rarest Badge job has a backoff that has not expired when the Recent Badges job is scheduled to begin and sends a request to the same method.

Stack Exchange API - Throttles:

A dynamic throttle is also in place on a per-method level. If an application receives a response with the backoff field set, it must wait that many seconds before hitting the same method again.