blockchain-mongo icon indicating copy to clipboard operation
blockchain-mongo copied to clipboard

Ever running service?

Open itayw opened this issue 11 years ago • 0 comments

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.

itayw avatar Nov 08 '13 18:11 itayw