Request Limiter reloadable config (#25095)

This commit introduces a new reloadable stanza to the server config to allow disabling the Request Limiter.
This commit is contained in:
Mike Palmiotto
2024-01-26 15:01:47 -05:00
committed by GitHub
parent 43be9fc18a
commit 5933768ca5
8 changed files with 197 additions and 1 deletions

View File

@@ -98,5 +98,10 @@ func (c *SharedConfig) Merge(c2 *SharedConfig) *SharedConfig {
result.ClusterName = c2.ClusterName
}
result.RequestLimiter = c.RequestLimiter
if c2.RequestLimiter != nil {
result.RequestLimiter = c2.RequestLimiter
}
return result
}