-
Notifications
You must be signed in to change notification settings - Fork 171
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 price per session #2892
Fix price per session #2892
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2892 +/- ##
===================================================
+ Coverage 56.45344% 56.46465% +0.01121%
===================================================
Files 89 89
Lines 19416 19421 +5
===================================================
+ Hits 10961 10966 +5
Misses 7849 7849
Partials 606 606
Continue to review full report in Codecov by Sentry.
|
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.
Looks good but this will mean every time an O increases their prices, they lose sessions right? I think this is good as a patch for the vulnerability, but does somewhat limit the ability of the Os to do dynamic pricing changes without losing out on work
This approach is not comprehensive and prevents the market dynamics promoted during the recent selection algo updates. Please review the comments on #2891. |
I would rather see a comprehensive fix than just a patch to fix the "vulnerability" today. Technically it's not actually costing the B any more funds than they would have prior to the algo change, Os can still only increase it to less than the maxPrice the B sets. If we implement this as it stands all Os started by default that do not include the autoPriceAdjust flag will fail to work. |
I agree, we should keep the same price during the entire stream. Dropping session when the price changes isn't an acceptable solution imho. |
The Orch would need to cache the price per orchSessionID and maintain that price until that session ends |
Thanks for all the comments. I think you're right. Let's wait with merging this PR until I send a fix for O to keep the price the same during the whole session. |
Updated the PR. Now:
|
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.
LGTM!
fix #2891