Skip to content

Make initial-sync retry and peer polling waits cancellable - #17460

Open
syjn99 wants to merge 1 commit into
developfrom
fix/sync-retry-waits
Open

Make initial-sync retry and peer polling waits cancellable#17460
syjn99 wants to merge 1 commit into
developfrom
fix/sync-retry-waits

Conversation

@syjn99

@syjn99 syjn99 commented Sep 7, 2026

Copy link
Copy Markdown
Member

What type of PR is this?

Bug fix

What does this PR do? Why is it needed?

We have time.Sleep pattern for few seconds in initial-sync phase, which doesn't honor the parent's context cancellation. This PR makes waiting be cancellable inside the context.

Which issue(s) does this PR fix?

N/A

Other notes for review

Acknowledgements

  • I have read CONTRIBUTING.md.
  • I have included a uniquely named changelog fragment file.
  • I have added a description with sufficient context for reviewers to understand this PR.
  • I have tested that my changes work as expected and I added a testing plan to the PR description (if applicable).

@syjn99
syjn99 requested a review from a team as a code owner September 7, 2026 07:10
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.

1 participant