Skip to content

Commit

Permalink
Update client-side rate limit to 1 request per 300ms
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <[email protected]>
  • Loading branch information
NobodyXu committed Jun 12, 2024
1 parent 581019d commit d317770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/binstalk-git-repo-api/src/gh_api_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ mod test {
remote::Client::new(
concat!(env!("CARGO_PKG_NAME"), "/", env!("CARGO_PKG_VERSION")),
None,
NonZeroU16::new(200).unwrap(),
NonZeroU16::new(300).unwrap(),
1.try_into().unwrap(),
[],
)
Expand Down

0 comments on commit d317770

Please sign in to comment.