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:
Mike Palmiotto
2024-01-26 15:24:32 -05:00
committed by GitHub
parent dc9d1e275d
commit 12f69a8ce5
10 changed files with 94 additions and 13 deletions

View File

@@ -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
}