zlacker

[parent] [thread] 0 comments
1. crater+(OP)[view] [source] 2023-07-02 01:24:31
There are libraries, usually under the general heading of "circuit breaker", that handle 429 and other reasons to retry in a sane manner. I'm not a JS expert but I believe either yammer/circuit-breaker-js or nodeshift/opossum would work in the browser. Even a hand-coded exponential backoff with jitter is simple enough to do for most cases.
[go to top]