mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 07:36:38 +00:00
Fix unit test for GhApiClient
Set client-side rate limit to 1 request per 200 ms Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
238e0f6318
commit
2d126668bd
1 changed files with 1 additions and 1 deletions
|
@ -493,7 +493,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(10).unwrap(),
|
NonZeroU16::new(200).unwrap(),
|
||||||
1.try_into().unwrap(),
|
1.try_into().unwrap(),
|
||||||
[],
|
[],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue