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

don't update max_taker_vol on every orderbook update #2234

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Conversation

cipig
Copy link
Member

@cipig cipig commented Apr 2, 2023

the max_taker_vol call can take several seconds to process, see: #2196
the values usually don't change, so there is no need to do this call every 5s, on every orderbook update
the call is done anyway every time you click on an order in the orderbook (even if the already selected order is selected again), which is fine to update the values (based on new order or based on changed balance/txfee... fees don't change every 5s)

@smk762 smk762 merged commit eff6904 into dev Apr 6, 2023
@smk762 smk762 deleted the maxtakervol branch August 7, 2023 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants