From c00dac1bbfee2bc15aab36d93fd96991dc2ba4e1 Mon Sep 17 00:00:00 2001 From: Athurg Gooth Date: Mon, 9 Oct 2023 09:54:12 +0800 Subject: [PATCH] fix: index page failed with 429 (#2363) --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index 3781b614..09bff45b 100644 --- a/server/server.go +++ b/server/server.go @@ -80,7 +80,7 @@ func NewServer(ctx context.Context, profile *profile.Profile, store *store.Store e.Use(middleware.RateLimiterWithConfig(middleware.RateLimiterConfig{ Skipper: grpcRequestSkipper, Store: middleware.NewRateLimiterMemoryStoreWithConfig( - middleware.RateLimiterMemoryStoreConfig{Rate: 30, Burst: 60, ExpiresIn: 3 * time.Minute}, + middleware.RateLimiterMemoryStoreConfig{Rate: 30, Burst: 100, ExpiresIn: 3 * time.Minute}, ), IdentifierExtractor: func(ctx echo.Context) (string, error) { id := ctx.RealIP()