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

block eta #67

Closed
roadscape opened this issue Jan 24, 2018 · 0 comments
Closed

block eta #67

roadscape opened this issue Jan 24, 2018 · 0 comments
Milestone

Comments

@roadscape
Copy link
Contributor

roadscape commented Jan 24, 2018

Currently there is a loop which checks dgp until expected block is detected. This makes a lot of calls to jussi (and returned data is imprecise because calls cached by 3s). Each call can be up to 100-200ms which is a significant waste. Since blocks are at regular 3s intervals, hive should just request blocks at their ETA.

Also, once we have a known amount of idle time between blocks, it can be used for maintenance.

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

No branches or pull requests

1 participant