-
Notifications
You must be signed in to change notification settings - Fork 11
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
add: update impression price and pause channel event #166
add: update impression price and pause channel event #166
Conversation
c677d2f
to
99cf2e8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the PR is OK, but I need to think more about this
78f7fb4
to
35156a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should also update channelPromise
on throttledPersistAndReset
, cause otherwise if we're running in cluster, we will never get the price updated
also it's a good idea to start applying the new price with the next aggregate, which will ensure more (not fully) deterministic behavior
that means that you should ONLY update the channelpromise there
35156a6
to
1afd1fb
Compare
34064b0
to
34d8264
Compare
34d8264
to
670d705
Compare
Fixes #157 and #159