diff --git a/config/rate_limit.go b/config/rate_limit.go index 5b9ce78fa6c..86bb6575dd7 100644 --- a/config/rate_limit.go +++ b/config/rate_limit.go @@ -10,7 +10,7 @@ type RateLimit struct { // EnableFixedWindow enables fixed window rate limiting. EnableFixedWindowRateLimiter bool `json:"enable_fixed_window_rate_limiter"` - // Redis based rate limiter with fixed window. Provides 100% rate limiting accuracy, but require two additional Redis roundtrip for each request. + // Redis based rate limiter with sliding log. Provides 100% rate limiting accuracy, but require two additional Redis roundtrip for each request. EnableRedisRollingLimiter bool `json:"enable_redis_rolling_limiter"` // To enable, set to `true`. The sentinel-based rate limiter delivers a smoother performance curve as rate-limit calculations happen off-thread, but a stricter time-out based cool-down for clients. For example, when a throttling action is triggered, they are required to cool-down for the period of the rate limit.