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

Use blocker for scheduling commitAsync, remove semaphore from WithConsumer #586

Merged
merged 1 commit into from
Apr 10, 2021

Conversation

bplommer
Copy link
Member

@bplommer bplommer commented Apr 9, 2021

It seems the use of semaphore was only needed because commitAsync was running on the compute pool rather than the consumer blocker. Although it's non-blocking, the initial invocation is supposed to run on the same thread as other consumer operations.

@bplommer bplommer requested review from LMnet and vlovgr April 9, 2021 15:30
@bplommer bplommer marked this pull request as ready for review April 9, 2021 15:31
@bplommer bplommer merged commit 38c9079 into series/1.x Apr 10, 2021
@bplommer bplommer deleted the withconsumer-no-semaphore branch April 10, 2021 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants