Skip to content

Ever running service? #2

Description

@itayw

The current flow is set with setTimeout that will query the service for more blocks, regardless if there are any.
I think it would be wise to add a check to change the timer in case there are no new blocks, it can be increased to reduce overhead on connection limits.

This is a petty issue since in all likelihood there won't be cases in which there are no new blocks, but maybe someone will run this in VERY short intervals.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions