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

Prevent multiple appends within the same event loop creating many batch clients #305

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

George-Payne
Copy link
Member

@George-Payne George-Payne commented Aug 10, 2022

  • immediately cache the promise and await the promise on subsequent appends
  • rework backpressured write to work across multiple calls to shared stream
  • add test

fixes #304
fixes: #167

@George-Payne George-Payne self-assigned this Aug 10, 2022
@George-Payne George-Payne added the kind/bug Issues which are a software defect label Aug 10, 2022
@George-Payne George-Payne marked this pull request as draft August 10, 2022 10:24
…ches.

- immediately cache the promise and await the promise on subsequent appends
- rework backpressured write to work across multiple calls
- add test
@pvanbuijtene pvanbuijtene merged commit 045b0a3 into master Aug 15, 2022
@pvanbuijtene pvanbuijtene deleted the a-fresh-batch-of-promises branch August 15, 2022 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues which are a software defect
Projects
None yet
3 participants