Skip to content

Commit

Permalink
chore(webserver): update user rate limit to 60rpm
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Zhang <[email protected]>
  • Loading branch information
zwpaper committed Dec 23, 2024
1 parent 4184a0e commit 92f6eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ee/tabby-webserver/src/rate_limit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct UserRateLimiter {
rate_limiters: Mutex<TimedCache<String, ratelimit::Ratelimiter>>,
}

static USER_REQUEST_LIMIT_PER_MINUTE: u64 = 30;
static USER_REQUEST_LIMIT_PER_MINUTE: u64 = 60;

impl Default for UserRateLimiter {
fn default() -> Self {
Expand Down

0 comments on commit 92f6eae

Please sign in to comment.