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

Wait for remote peer connections in Core recovery header fetch #6100

Merged
merged 1 commit into from
Nov 14, 2022

Conversation

aschran
Copy link
Contributor

@aschran aschran commented Nov 14, 2022

Uses WaitingPeer to wait up to the already-configured timeout before giving up on remote header fetch on Core recovery.

@aschran aschran requested review from lanvidr and akichidis November 14, 2022 16:58
@aschran aschran marked this pull request as ready for review November 14, 2022 17:02
@aschran aschran requested a review from bmwill as a code owner November 14, 2022 17:02
Copy link
Contributor

@lanvidr lanvidr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! That was fast.

@aschran
Copy link
Contributor Author

aschran commented Nov 14, 2022

This broke some tests in integration_tests_validator_api because now a 1s sleep is not sufficient for core startup to finish before the test proceeds. I'll need to fix that before merging

Uses `WaitingPeer` to wait up to the already-configured timeout
before giving up on remote header fetch on Core recovery.
@aschran aschran enabled auto-merge (squash) November 14, 2022 17:58
@aschran aschran merged commit f0b08cc into main Nov 14, 2022
@aschran aschran deleted the aschran/recover branch November 14, 2022 18:02
ebmifa pushed a commit that referenced this pull request Nov 14, 2022
Uses `WaitingPeer` to wait up to the already-configured timeout
before giving up on remote header fetch on Core recovery.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants