Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

[ad-hoc] [2] only reset cached balances and liabilities if pruneOps > 0, reducing unnecessary network calls #561

Closed
nikhilsaraf opened this issue Oct 25, 2020 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@nikhilsaraf
Copy link
Contributor

nikhilsaraf commented Oct 25, 2020

  • speeds up update loop cycle by ~10% (~3.4s to ~3.0s) for the mirror strategy in the case where there's no pruneOps such as the mirror strategy
  • buysell when there's no prune ops reduced to ~2.8s (not sure what it was before)
@nikhilsaraf nikhilsaraf added the bug Something isn't working label Oct 25, 2020
@nikhilsaraf nikhilsaraf added this to the v1.10.1 milestone Oct 25, 2020
@nikhilsaraf nikhilsaraf self-assigned this Oct 25, 2020
@nikhilsaraf nikhilsaraf changed the title [2] only reset cached balances and liabilities if pruneOps > 0, reducing unnecessary network calls [ad-hoc] [2] only reset cached balances and liabilities if pruneOps > 0, reducing unnecessary network calls Oct 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant