Skip to content

Commit

Permalink
Use RateBurst in RateLimitInterceptorProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSnowden committed Oct 4, 2023
1 parent 0a94c38 commit 191a02c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/frontend/fx.go
Expand Up @@ -312,10 +312,10 @@ func RateLimitInterceptorProvider(

return interceptor.NewRateLimitInterceptor(
configs.NewRequestToRateLimiter(
quotas.NewDefaultIncomingRateLimiter(rateFn),
quotas.NewDefaultIncomingRateLimiter(rateFn),
quotas.NewDefaultIncomingRateLimiter(namespaceReplicationInducingRateFn),
quotas.NewDefaultIncomingRateLimiter(rateFn),
quotas.NewDefaultIncomingRateBurst(rateFn),
quotas.NewDefaultIncomingRateBurst(rateFn),
quotas.NewDefaultIncomingRateBurst(namespaceReplicationInducingRateFn),
quotas.NewDefaultIncomingRateBurst(rateFn),
serviceConfig.OperatorRPSRatio,
),
map[string]int{},
Expand Down

0 comments on commit 191a02c

Please sign in to comment.