Open dani-s-92 opened 1 year ago
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?
setInterval()
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?