Change genesis-state-url-timeout (#7112)

Timeouts sometimes occur on downloading the Holeksy genesis state from AWS, we've had reputable outside reports on this.
It's around 200MB and hosted in APAC, it makes sense to bump the default, at least for Holesky.


  Bump default timeout from 180 to 300 secs
This commit is contained in:
antondlr
2025-04-01 10:30:39 +02:00
committed by GitHub
parent bde0f1ef0b
commit fb7ec0d151
9 changed files with 9 additions and 9 deletions

View File

@@ -166,7 +166,7 @@ Options:
then this value will be ignored.
--genesis-state-url-timeout <SECONDS>
The timeout in seconds for the request to --genesis-state-url.
[default: 180]
[default: 300]
--graffiti <GRAFFITI>
Specify your custom graffiti to be included in blocks. Defaults to the
current version and commit, truncated to fit in 32 bytes.

View File

@@ -51,7 +51,7 @@ Options:
then this value will be ignored.
--genesis-state-url-timeout <SECONDS>
The timeout in seconds for the request to --genesis-state-url.
[default: 180]
[default: 300]
--log-format <FORMAT>
Specifies the log format used when emitting logs to the terminal.
[possible values: JSON]

View File

@@ -49,7 +49,7 @@ Options:
then this value will be ignored.
--genesis-state-url-timeout <SECONDS>
The timeout in seconds for the request to --genesis-state-url.
[default: 180]
[default: 300]
--graffiti <GRAFFITI>
Specify your custom graffiti to be included in blocks.
--graffiti-file <GRAFFITI-FILE>

View File

@@ -48,7 +48,7 @@ Options:
then this value will be ignored.
--genesis-state-url-timeout <SECONDS>
The timeout in seconds for the request to --genesis-state-url.
[default: 180]
[default: 300]
--log-format <FORMAT>
Specifies the log format used when emitting logs to the terminal.
[possible values: JSON]

View File

@@ -55,7 +55,7 @@ Options:
then this value will be ignored.
--genesis-state-url-timeout <SECONDS>
The timeout in seconds for the request to --genesis-state-url.
[default: 180]
[default: 300]
--log-format <FORMAT>
Specifies the log format used when emitting logs to the terminal.
[possible values: JSON]

View File

@@ -36,7 +36,7 @@ Options:
then this value will be ignored.
--genesis-state-url-timeout <SECONDS>
The timeout in seconds for the request to --genesis-state-url.
[default: 180]
[default: 300]
--keystore-file <PATH_TO_KEYSTORE_FILE>
The path to a keystore JSON file to be imported to the validator
client. This file is usually created using staking-deposit-cli or

View File

@@ -44,7 +44,7 @@ Options:
then this value will be ignored.
--genesis-state-url-timeout <SECONDS>
The timeout in seconds for the request to --genesis-state-url.
[default: 180]
[default: 300]
--log-format <FORMAT>
Specifies the log format used when emitting logs to the terminal.
[possible values: JSON]

View File

@@ -411,7 +411,7 @@ fn main() {
"The timeout in seconds for the request to --genesis-state-url.",
)
.action(ArgAction::Set)
.default_value("180")
.default_value("300")
.global(true)
.display_order(0)
)

View File

@@ -2758,7 +2758,7 @@ fn genesis_state_url_default() {
.run_with_zero_port()
.with_config(|config| {
assert_eq!(config.genesis_state_url, None);
assert_eq!(config.genesis_state_url_timeout, Duration::from_secs(180));
assert_eq!(config.genesis_state_url_timeout, Duration::from_secs(300));
});
}