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

Fix notification to parent connection on draining reconnect #82

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

BrunoScheufler
Copy link
Contributor

@BrunoScheufler BrunoScheufler commented Dec 2, 2024

#79 changed how we subscribe to connection updates. We now store channels in struct fields instead of function arguments. This affected connection draining on the client, as we should wait for the new connection to be established before closing the original connection.

With this PR, we allow passing in an additional connection ready notification channel, which is used by draining logic to subscribe to connection status updates.

@BrunoScheufler BrunoScheufler self-assigned this Dec 2, 2024
@BrunoScheufler BrunoScheufler merged commit aabc5e9 into main Dec 2, 2024
7 checks passed
@BrunoScheufler BrunoScheufler deleted the bruno/draining-fix-notification branch December 2, 2024 16:11
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