Why is my interval function causing a memory leak in Node.js?
this will help Firstly, 6000 is 6 seconds, not 60 seconds.You never call
clearInterval, so the timer you create using setInterval will hang around
forever, being called every 6 seconds. Remember this is setInterval, not
setTimeout, so the timer doesn
Date : November 24 2020, 03:01 PM , By : TWu