-
Notifications
You must be signed in to change notification settings - Fork 20
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 flush interval #338
Fix flush interval #338
Conversation
…incoming messages
Thank you. I put @hiimjako in the cc to check the PR. |
Looks great to me! I was also thinking:
|
Thanks both. |
I'll make some improvements after work |
|
…eforeStorage so that we don't need getMessageCountBeforeStorage() and request the mutex twice
Yeah, right, it also makes sense having both values in a lock. That's fine for me, thanks for the contribution 😄 |
Thanks @Darthmineboy @hiimjako |
Fixes auto commit at flush interval not being triggered due to constant stream of messages which resets the flush interval.
I was having a bit of an issue with CI that it says
There were failures detected in the following suites: stream ./pkg/stream
but I was unable to see the failing test. I upgraded ginkgo because I thought it may be related to onsi/ginkgo#973 where test summary is not shown when just 1 test fails.Turns out that this failure was caused by a data race that was logged as warning but it doesn't mark a specific test as failed. The data race is now fixed. If you want I can revert the ginkgo upgrade.
fixes #337