From 92f6eaeb8952287f2e12839625a9b09465251e91 Mon Sep 17 00:00:00 2001 From: Wei Zhang Date: Mon, 23 Dec 2024 10:44:32 +0800 Subject: [PATCH] chore(webserver): update user rate limit to 60rpm Signed-off-by: Wei Zhang --- ee/tabby-webserver/src/rate_limit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/tabby-webserver/src/rate_limit.rs b/ee/tabby-webserver/src/rate_limit.rs index 16abdda8a172..7c103145d8fc 100644 --- a/ee/tabby-webserver/src/rate_limit.rs +++ b/ee/tabby-webserver/src/rate_limit.rs @@ -8,7 +8,7 @@ pub struct UserRateLimiter { rate_limiters: Mutex>, } -static USER_REQUEST_LIMIT_PER_MINUTE: u64 = 30; +static USER_REQUEST_LIMIT_PER_MINUTE: u64 = 60; impl Default for UserRateLimiter { fn default() -> Self {