Skip to content

Conversation

@achingbrain
Copy link
Member

If searching for the initial set of peers fails, only reject the promise from the request cache if another context is awaiting the result, otherwise it can cause unhandled rejections.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

If searching for the initial set of peers fails, only reject the
promise from the request cache if another context is awaiting the
result, otherwise it can cause unhandled rejections.
@achingbrain achingbrain requested a review from a team as a code owner December 15, 2025 10:16
@achingbrain achingbrain merged commit cb05f46 into main Dec 15, 2025
18 checks passed
@achingbrain achingbrain deleted the fix/unhanded-promise-rejection-from-initial-peer-search branch December 15, 2025 11:15
@achingbrain achingbrain mentioned this pull request Dec 15, 2025
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.

2 participants