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 issue in server rpc when events sender gets blocked #139

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

aditiharini
Copy link
Contributor

When the events sender gets blocked in the process of reading events out of the db, the subscribe rpc was hanging without returning the receiver. Move all the operations on the sending channel into a separate thread so that the receiver will always be returned.

@aditiharini aditiharini marked this pull request as ready for review December 6, 2024 21:24
@aditiharini aditiharini merged commit 71a04c0 into main Dec 6, 2024
2 checks passed
@aditiharini aditiharini deleted the fix-subscribe-rpc branch December 6, 2024 21:42
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