From c0bb2338de1dd43c0058dd3debe3113e33f281b3 Mon Sep 17 00:00:00 2001 From: JustSong Date: Mon, 24 Apr 2023 11:18:05 +0800 Subject: [PATCH] Temporary set rate limit to 60k --- common/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/constants.go b/common/constants.go index 987f6b08..14ddd304 100644 --- a/common/constants.go +++ b/common/constants.go @@ -63,7 +63,7 @@ var ( // All duration's unit is seconds // Shouldn't larger then RateLimitKeyExpirationDuration var ( - GlobalApiRateLimitNum = 60 + GlobalApiRateLimitNum = 60000 // TODO: temporary set to 60000 GlobalApiRateLimitDuration int64 = 3 * 60 GlobalWebRateLimitNum = 60