poly-flashloan-bot icon indicating copy to clipboard operation
poly-flashloan-bot copied to clipboard

SetInterval

Open dani-s-92 opened this issue 2 years ago • 0 comments

Hello, in your index.js you are using setInterval() to rerun your code again. If I try this, everyone I rerun the code to fetch prices (every 1 second) it needs a bit longer to check prices. What can I do, to not let the runtime increase with time?

dani-s-92 avatar Sep 16 '22 12:09 dani-s-92