Skip to content

Commit

Permalink
Reduce number of concurrent requests to GitHub
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Castaño Arteaga <[email protected]>
  • Loading branch information
tegioz committed Aug 10, 2023
1 parent 4d35998 commit 35d0d6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clowarden-core/src/services/github/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl State {
..Default::default()
})
})
.buffer_unordered(8)
.buffer_unordered(4)
.collect::<Vec<Result<Team>>>()
.await
{
Expand Down Expand Up @@ -211,7 +211,7 @@ impl State {
visibility: Some(repo.visibility.into()),
})
})
.buffer_unordered(8)
.buffer_unordered(4)
.collect::<Vec<Result<Repository>>>()
.await
{
Expand Down

0 comments on commit 35d0d6c

Please sign in to comment.