uppy/packages/@uppy/utils
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
..
src @uppy/tus: pause all requests in response to server rate limiting (#3394) 2022-01-10 16:41:52 +01:00
types fix: @uppy/utils - getFileType() always returns a string (#3294) 2021-11-03 12:30:10 +01:00
LICENSE Add @uppy/utils skeleton. 2018-06-14 16:31:19 +02:00
package.json Release: uppy@2.3.0 (#3348) 2021-12-07 18:48:43 +00:00
README.md Add retext to markdown linter (#3024) 2021-10-14 16:10:45 +02:00

@uppy/utils

Uppy logo: a superman puppy in a pink suit

npm version CI status for Uppy tests CI status for Companion tests CI status for browser tests

Shared utility functions for Uppy Core and the “official” plugins maintained by the Uppy team.

Uppy is being developed by the folks at Transloadit, a versatile file encoding service.

Installation

Unless you are creating a custom plugin, you should not need to install this manually.

$ npm install @uppy/utils

License

The MIT License.