-
Notifications
You must be signed in to change notification settings - Fork 84
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
cmd: beacon node API timeouts #3164
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3164 +/- ##
==========================================
+ Coverage 56.65% 56.68% +0.02%
==========================================
Files 208 208
Lines 29202 29216 +14
==========================================
+ Hits 16545 16561 +16
Misses 10828 10828
+ Partials 1829 1827 -2 ☔ View full report in Codecov by Sentry. |
Add two CLI flags for `run`: - `--beacon-node-timeout`, which allows users to specify a custom HTTP timeout used for beacon node API calls - `--beacon-node-submit-timeout`, that allows users to specify a custom HTTP timeout used for submission beacon node API calls, like block and attestation submission. Both flag default to the previous 2 seconds timeout.
3e8d7e0
to
b15f7dd
Compare
Co-authored-by: Oisín Kyne <4981644+OisinKyne@users.noreply.github.com>
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not completely sure of app/app.go, but LGTM at least.
I'll wait for protocol team's review before merging. Thanks for your help on the CLI arguments copy! |
Add two CLI flags for
run
:--beacon-node-timeout
, which allows users to specify a custom HTTP timeout used for beacon node API calls--beacon-node-submit-timeout
, that allows users to specify a custom HTTP timeout used for submission beacon node API calls, like block and attestation submission.Both flag default to the previous 2 seconds timeout.
category: feature
ticket: none