Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was 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

@nikhilsaraf

Description

@nikhilsaraf
  • 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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions