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: close connections that are still blocked while recycling them to pools #667

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

rueian
Copy link
Collaborator

@rueian rueian commented Nov 10, 2024

When returning a dedicated connection to the pool, we try to clear its pubsub subscriptions by sending a UNSUBSCRIBE request. But if the connection is currently in blocking, we will never get UNSUBSCRIBE response. We should just close the connection instead.

@rueian rueian force-pushed the clear-subsucription-by-closing branch from 51410da to 6f22f22 Compare November 10, 2024 20:29
@rueian rueian marked this pull request as ready for review November 10, 2024 21:19
@rueian rueian merged commit adffb5f into main Nov 11, 2024
83 checks passed
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