Skip to content

Commit

Permalink
Merge branch 'main' into renovate/linting
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored Mar 7, 2024
2 parents fd27bdf + 6a23753 commit ab76eb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/feedback/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ async fn main() -> std::io::Result<()> {

let feedback_ratelimit = GovernorConfigBuilder::default()
.key_extractor(GlobalKeyExtractor)
.per_second(SECONDS_PER_DAY / 100) // replenish new token every .. seconds
.burst_size(20)
.per_second(SECONDS_PER_DAY / 300) // replenish new token every .. seconds
.burst_size(50)
.finish()
.expect("Invalid configuration of the governor");

Expand Down

0 comments on commit ab76eb5

Please sign in to comment.