mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
Request Limiter listener config opt-out (#25098)
This commit introduces a new listener config option to allow disabling the request limiter per-listener.
This commit is contained in:
@@ -901,6 +901,8 @@ func (c *ServerCommand) InitListeners(config *server.Config, disableClustering b
|
||||
}
|
||||
props["max_request_duration"] = lnConfig.MaxRequestDuration.String()
|
||||
|
||||
props["disable_request_limiter"] = strconv.FormatBool(lnConfig.DisableRequestLimiter)
|
||||
|
||||
if lnConfig.ChrootNamespace != "" {
|
||||
props["chroot_namespace"] = lnConfig.ChrootNamespace
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user