Skip to content

Commit

Permalink
update descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Jul 28, 2023
1 parent 046d865 commit 2d6d188
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cmd/soroban-rpc/internal/config/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,49 +349,49 @@ func (cfg *Config) options() ConfigOptions {
},
{
TomlKey: strutils.KebabToConstantCase("max-get-health-execution-duration"),
Usage: "The maximum duration of time allowed for processing a getHealth request. When that time elapses, the server would return 504 and abort the request's execution",
Usage: "The maximum duration of time allowed for processing a getHealth request. When that time elapses, the rpc server would return -32001 and abort the request's execution",
ConfigKey: &cfg.MaxGetHealthExecutionDuration,
DefaultValue: 5 * time.Second,
},
{
TomlKey: strutils.KebabToConstantCase("max-get_events-execution-duration"),
Usage: "The maximum duration of time allowed for processing a getEvents request. When that time elapses, the server would return 504 and abort the request's execution",
Usage: "The maximum duration of time allowed for processing a getEvents request. When that time elapses, the rpc server would return -32001 and abort the request's execution",
ConfigKey: &cfg.MaxGetEventsExecutionDuration,
DefaultValue: 10 * time.Second,
},
{
TomlKey: strutils.KebabToConstantCase("max-get-network-execution-duration"),
Usage: "The maximum duration of time allowed for processing a getNetwork request. When that time elapses, the server would return 504 and abort the request's execution",
Usage: "The maximum duration of time allowed for processing a getNetwork request. When that time elapses, the rpc server would return -32001 and abort the request's execution",
ConfigKey: &cfg.MaxGetNetworkExecutionDuration,
DefaultValue: 5 * time.Second,
},
{
TomlKey: strutils.KebabToConstantCase("max-get-latest-ledger-execution-duration"),
Usage: "The maximum duration of time allowed for processing a getLatestLedger request. When that time elapses, the server would return 504 and abort the request's execution",
Usage: "The maximum duration of time allowed for processing a getLatestLedger request. When that time elapses, the rpc server would return -32001 and abort the request's execution",
ConfigKey: &cfg.MaxGetLatestLedgerExecutionDuration,
DefaultValue: 5 * time.Second,
},
{
TomlKey: strutils.KebabToConstantCase("max-get_ledger-entries-execution-duration"),
Usage: "The maximum duration of time allowed for processing a getLedgerEntries request. When that time elapses, the server would return 504 and abort the request's execution",
Usage: "The maximum duration of time allowed for processing a getLedgerEntries request. When that time elapses, the rpc server would return -32001 and abort the request's execution",
ConfigKey: &cfg.MaxGetLedgerEntriesExecutionDuration,
DefaultValue: 5 * time.Second,
},
{
TomlKey: strutils.KebabToConstantCase("max-get-transaction-execution-duration"),
Usage: "The maximum duration of time allowed for processing a getTransaction request. When that time elapses, the server would return 504 and abort the request's execution",
Usage: "The maximum duration of time allowed for processing a getTransaction request. When that time elapses, the rpc server would return -32001 and abort the request's execution",
ConfigKey: &cfg.MaxGetTransactionExecutionDuration,
DefaultValue: 5 * time.Second,
},
{
TomlKey: strutils.KebabToConstantCase("max-send-transaction-execution-duration"),
Usage: "The maximum duration of time allowed for processing a sendTransaction request. When that time elapses, the server would return 504 and abort the request's execution",
Usage: "The maximum duration of time allowed for processing a sendTransaction request. When that time elapses, the rpc server would return -32001 and abort the request's execution",
ConfigKey: &cfg.MaxSendTransactionExecutionDuration,
DefaultValue: 15 * time.Second,
},
{
TomlKey: strutils.KebabToConstantCase("max-simulate-transaction-execution-duration"),
Usage: "The maximum duration of time allowed for processing a simulateTransaction request. When that time elapses, the server would return 504 and abort the request's execution",
Usage: "The maximum duration of time allowed for processing a simulateTransaction request. When that time elapses, the rpc server would return -32001 and abort the request's execution",
ConfigKey: &cfg.MaxSimulateTransactionExecutionDuration,
DefaultValue: 15 * time.Second,
},
Expand Down

0 comments on commit 2d6d188

Please sign in to comment.