setInterval doesn't work Node.js

Hi All, I have a specific Node JS problem,I am facing the following problem: when I get transactions using bitcore-p2p parallelly I use setInterval(cb, ms) global function.
After running the script for a while the process that gets transactions, blocks setInterval(cb, ms) process.
Can you help?

It’s hard to help in this cases without a code sample. For general programming questions, I recommend though, you’ll get faster answers there.

1 Like