Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Improve PriceFeeder poll #11

Open
1 of 2 tasks
shaunxw opened this issue Nov 7, 2019 · 0 comments
Open
1 of 2 tasks

Improve PriceFeeder poll #11

shaunxw opened this issue Nov 7, 2019 · 0 comments

Comments

@shaunxw
Copy link
Member

shaunxw commented Nov 7, 2019

Substasks

  • Interval. In the current impl, the price feed interval is not guaranteed, as PriceFeeder would sleep for PRICE_FEED_INTERVAL_MS before executing next round of tasks. It should be improved to maintain a guaranteed interval.

  • Concurrency. In each round, price feed tasks should be executed concurrently, instead of waiting for one another.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant