Answer the question
In order to leave comments, you need to log in
Is it necessary to clear spacing in nodejs?
Good afternoon, please tell me, I have an interval on the server that every hour makes a request to another server and checks for changes. I need this interval all the time, do I need to clear it somehow? Will there be a leak?
Answer the question
In order to leave comments, you need to log in
Depends on the situation, if you make a request in the interval, compare and record changes in it, then there should be no leakage and clean up too, this is all done automatically. At any time, you can test it yourself by logging the used RAM.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question