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

Ensure persistent subscriptions messages don't continue on the main queue #3702

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

hayley-jean
Copy link
Member

Changed: Publish messages from the persistent subscriptions IODispatcher to the Persistent Subscriptions queue rather than the main queue

This prevents continuations which could take a long time to process from happening on the main queue.

Fixes https://github.com/EventStore/home/issues/885

Update the Persistent Subscription IODispatcher to publish completed
messages onto the PSub queue. This prevents continuations which could
take a long time to process from happening on the main queue.
Copy link
Contributor

@timothycoleman timothycoleman left a comment

Choose a reason for hiding this comment

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

great 👍

There is only one other IODispatcher that runs its continuations on the main queue, but it seems not to actually be used at all. For completeness I have removed it here #3709

@pvanbuijtene pvanbuijtene merged commit 2a774bb into master Jan 25, 2023
@pvanbuijtene pvanbuijtene deleted the hayley-jean/persistent-subs-queues branch January 25, 2023 16:09
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

3 participants