Skip to content

Commit

Permalink
fix flag usage for max-concurrent-requests (stellar#5247)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms authored Mar 14, 2024
1 parent 55a279f commit 4a00bc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/horizon/internal/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 4a00bc7

Please sign in to comment.