mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 15:46:36 +00:00
Update client-side rate limit to 1 request per 300ms
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
d66774ee4a
commit
af30cfe2e1
1 changed files with 1 additions and 1 deletions
|
@ -498,7 +498,7 @@ mod test {
|
||||||
remote::Client::new(
|
remote::Client::new(
|
||||||
concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")),
|
concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")),
|
||||||
None,
|
None,
|
||||||
NonZeroU16::new(200).unwrap(),
|
NonZeroU16::new(300).unwrap(),
|
||||||
1.try_into().unwrap(),
|
1.try_into().unwrap(),
|
||||||
[],
|
[],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue