You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
I have identified an issue with the current Authentication and Market system that is related to the Caching system in BuySYS.
The Authentication backend assigns different tax per member level, the Market system uses this information to determine the Tax, unfortunately the Cache is setup to save the adjusted price of whoever ran the cache update, generally the system which defaults to ROLE_MEMBER. So all prices are initially calculated and cached using the ROLE_MEMBER tax, and another ROLE never gets a different tax. This was done this way to save on DB calls, but I did not think this through.
I will be working on revamping the cache to store only the market price and having the adjusted price be calculated on each buyback estimate.
Thanks!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have identified an issue with the current Authentication and Market system that is related to the Caching system in BuySYS.
The Authentication backend assigns different tax per member level, the Market system uses this information to determine the Tax, unfortunately the Cache is setup to save the adjusted price of whoever ran the cache update, generally the system which defaults to ROLE_MEMBER. So all prices are initially calculated and cached using the ROLE_MEMBER tax, and another ROLE never gets a different tax. This was done this way to save on DB calls, but I did not think this through.
I will be working on revamping the cache to store only the market price and having the adjusted price be calculated on each buyback estimate.
Thanks!
The text was updated successfully, but these errors were encountered: