-
Notifications
You must be signed in to change notification settings - Fork 952
Remove ttfb_timeout and resp_timeout #7925
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
Conversation
pawanjay176
left a comment
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.
LGTM. In terms of removing it from the config values, there is now a spec PR that removes both ttfb and resp timeouts ethereum/consensus-specs#4532
I think we should still keep the resp timeout with a value of 10, not sure if we should change it. cc @AgeManning
|
I agree, we should keep the timeout. It would stall sync and cause a bunch of issues if we don't timeout requests. |
|
Awesome, @ackintosh can we remove |
The NetworkParams::max_payload_size field is already unused.
|
Thanks @pawanjay176! I removed |
pawanjay176
left a comment
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.
LGTM, removed the NetworkParams struct like you mentioned and merged unstable.
Upstream PR also got merged, I think we should remove other references of ttfb_timeout and resp_timeout from the ChainSpec in a separate PR to give time for tooling to catch up. Will merge once CI passes
|
Some required checks have failed. Could you please take a look @ackintosh? 🙏 |
`TTFB_TIMEOUT` was deprecated in ethereum/consensus-specs#3767. Remove `ttfb_timeout` from `InboundUpgrade` and other related structs. (Update) Also removed `resp_timeout` and also removed the `NetworkParams` struct since its fields are no longer used. sigp#7925 (comment)
Issue Addressed
TTFB_TIMEOUTwas deprecated in ethereum/consensus-specs#3767.Proposed Changes
Remove
ttfb_timeoutfromInboundUpgradeand other related structs.(Update)
Also removed
resp_timeoutand also removed theNetworkParamsstruct since its fields are no longer used. #7925 (comment)Additional Info
I didn't remove
ttfb_timeoutfield fromChainSpecbecause the field still exists in the mainnet.yaml file.