mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
Fix "Too many "Too Many Requests" log" (#761)
Fixed #747 - Add dep compact_str v0.6.1 to binstalk-downloader - Impl new type `DelayRequest` - Handle 503/429 with wait duration > `MAX_RETRY_DURATION` by simply taking the min - Fix `Client::send_request_inner`: Ensure 503/429 get propagated to other requests even if the current requests reach its maximum retry and decides to simply return an error. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
e510511487
commit
f2fc37eea5
4 changed files with 134 additions and 12 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -211,6 +211,7 @@ dependencies = [
|
|||
"binstall-tar",
|
||||
"bytes",
|
||||
"bzip2",
|
||||
"compact_str",
|
||||
"digest",
|
||||
"flate2",
|
||||
"futures-util",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue