From 13cd5a5a89f00b5f25349219e546ff8560fd4d07 Mon Sep 17 00:00:00 2001 From: Yimin Chen Date: Sun, 10 Jul 2022 09:23:40 -0700 Subject: [PATCH] Reorder frontend rate limiter (#3080) --- service/frontend/fx.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/frontend/fx.go b/service/frontend/fx.go index ed4885d4852..580fd4173b7 100644 --- a/service/frontend/fx.go +++ b/service/frontend/fx.go @@ -162,9 +162,9 @@ func GrpcServerOptionsProvider( metrics.NewServerMetricsContextInjectorInterceptor(), telemetryInterceptor.Intercept, namespaceValidatorInterceptor.Intercept, - rateLimitInterceptor.Intercept, - namespaceRateLimiterInterceptor.Intercept, namespaceCountLimiterInterceptor.Intercept, + namespaceRateLimiterInterceptor.Intercept, + rateLimitInterceptor.Intercept, authorization.NewAuthorizationInterceptor( claimMapper, authorizer,