mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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)
|
||||
)
|
||||
|
||||
@@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user