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

improve subscription #122

Merged
merged 1 commit into from
Oct 31, 2023
Merged

improve subscription #122

merged 1 commit into from
Oct 31, 2023

Conversation

ermalkaleci
Copy link
Collaborator

@ermalkaleci ermalkaleci commented Oct 31, 2023

This PR makes sure to close subscription when sink is closed also there's no need to spawn another task inside merge_subscription middleware

Screenshot 2023-10-31 at 11 36 46 AM

@ermalkaleci ermalkaleci requested a review from xlc October 31, 2023 10:38
@xlc xlc merged commit ddd665a into master Oct 31, 2023
@xlc xlc deleted the improve-subscription branch October 31, 2023 21:21
ermalkaleci added a commit that referenced this pull request Nov 1, 2023
…nnecessary but I was wrong. Subscription request needs to complete with Ok(()) while background task will keep sending updates.
ermalkaleci added a commit that referenced this pull request Nov 1, 2023
…nnecessary but I was wrong. Subscription request needs to complete with Ok(()) while background task will keep sending updates. (#123)
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