From 4a00bc7e1afbb895dc669853c98af8f6f6663223 Mon Sep 17 00:00:00 2001 From: tamirms Date: Thu, 14 Mar 2024 21:45:17 +0000 Subject: [PATCH] fix flag usage for max-concurrent-requests (#5247) --- services/horizon/internal/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/horizon/internal/flags.go b/services/horizon/internal/flags.go index 9df44af44d..5f11389a5f 100644 --- a/services/horizon/internal/flags.go +++ b/services/horizon/internal/flags.go @@ -478,7 +478,7 @@ func Flags() (*Config, support.ConfigOptions) { OptType: types.Uint, FlagDefault: defaultMaxConcurrentRequests, Usage: "sets the limit on the maximum number of concurrent http requests, default is 1000, to disable the limit set to 0. " + - "If Horizon receives a request which would exceed the limit of concurrent http requests, Horizon will respond with a 429 status code.", + "If Horizon receives a request which would exceed the limit of concurrent http requests, Horizon will respond with a 503 status code.", UsedInCommands: ApiServerCommands, }, &support.ConfigOption{