uppy/packages/@uppy/tus/src
Antoine du Hamel a08ec4e0f7
@uppy/tus: pause all requests in response to server rate limiting (#3394)
* @uppy/tus: pause all requests in response to server rate limiting

When the remote server responds with HTTP 429, all requests are
paused for a while in the hope that it can resolve the rate limiting.
Failed requests are also now queued up after the retry delay. Before
that, they were simply scheduled which would sometimes end up
overflowing the `limit` option.

* Address review comments

* fix requests bypassing queue pause state

* Auto rate limiting

* fix `RateLimitedQueue`
2022-01-10 16:41:52 +01:00
..
getFingerprint.js Stricter linter (#3095) 2021-08-17 20:32:57 +02:00
index.js @uppy/tus: pause all requests in response to server rate limiting (#3394) 2022-01-10 16:41:52 +01:00
index.test.js tus: remove autoRetry option (#2938) 2021-06-17 11:01:30 +01:00