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(ws): deadlock on unsubscribe when epoll disabled #982

Conversation

StarpTech
Copy link
Collaborator

@StarpTech StarpTech commented Nov 16, 2024

We have used the unsubscription channel of the epoll implementation for both paths, although epoll can be disabled. This led to a deadlock.

Related Cosmo PR: wundergraph/cosmo#1380

Copy link
Member

@Aenimus Aenimus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StarpTech StarpTech merged commit 2fad683 into master Nov 16, 2024
10 checks passed
@StarpTech StarpTech deleted the dustin/eng-5973-websocket-deadlock-on-reconnect-when-epoll-is-disabled branch November 16, 2024 21:41
StarpTech pushed a commit that referenced this pull request Nov 16, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.0.0-rc.124](v2.0.0-rc.123...v2.0.0-rc.124)
(2024-11-16)


### Bug Fixes

* **ws:** deadlock on unsubscribe when epoll disabled
([#982](#982))
([2fad683](2fad683))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants