Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --long-timeouts-multiplier CLI flag #7047

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix cli docs
macladson committed Feb 26, 2025
commit 359c17e41aa5f919f8441073124e24a80ca77c7d
7 changes: 7 additions & 0 deletions book/src/help_vc.md
Original file line number Diff line number Diff line change
@@ -247,6 +247,13 @@ Flags:
contain sensitive information about your validator and so this flag
should be used with caution. For Windows users, the log file
permissions will be inherited from the parent folder.
--long-timeouts-multiplier <LONG_TIMEOUTS_MULTIPLIER>
If present, the validator client will use a multiplier for the timeout
when making requests to the beacon node. This only takes effect when
the `--use-long_timeouts` flag is present. The timeouts will be the
slot duration multiplied by this value. This flag is generally not
recommended, longer timeouts can cause missed duties when fallbacks
are used. [default: 1]
--metrics
Enable the Prometheus metrics HTTP server. Disabled by default.
--prefer-builder-proposals
5 changes: 2 additions & 3 deletions validator_client/src/cli.rs
Original file line number Diff line number Diff line change
@@ -114,9 +114,8 @@ pub struct ValidatorClient {
help = "If present, the validator client will use a multiplier for the timeout \
when making requests to the beacon node. This only takes effect when \
the `--use-long_timeouts` flag is present. The timeouts will be the slot \
duration multiplied by this value.
This flag is generally not recommended, longer timeouts can cause missed \
duties when fallbacks are used.",
duration multiplied by this value. This flag is generally not recommended, \
longer timeouts can cause missed duties when fallbacks are used.",
display_order = 0,
help_heading = FLAG_HEADER,
)]