mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 23:26:36 +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(
|
||||
concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")),
|
||||
None,
|
||||
NonZeroU16::new(10).unwrap(),
|
||||
NonZeroU16::new(200).unwrap(),
|
||||
1.try_into().unwrap(),
|
||||
[],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue