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

PubSubEndpoint: Don't disconnect all other subscribed endpoints when one disconnects #53

Merged
merged 1 commit into from
Mar 15, 2023

Conversation

roekatz
Copy link
Contributor

@roekatz roekatz commented Mar 15, 2023

The bug is canceling the broadcaster's reader task when the main_loop of a specific endpoint (/subscriber) is done.

Only the other way around is desirable (cancel the main loop if reader task is done - that is the experimental fix for the PG broadcaster connection loss) .

The bug is canceling the reader task when the main_loop of a specific endpoint (/subscriber) is done.
@roekatz roekatz changed the title PubSubEndpoint: Fix disconnecting other clients when one disconnects PubSubEndpoint: Don't disconnect all other subscribed endpoints when one disconnects Mar 15, 2023
@roekatz roekatz requested a review from asafc March 15, 2023 17:25
@roekatz roekatz merged commit 3cf73fd into master Mar 15, 2023
@roekatz roekatz deleted the rk/fix-disconnections branch March 15, 2023 17:45
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.

None yet

2 participants