A
A
Artem2020-06-03 11:07:54
JavaScript
Artem, 2020-06-03 11:07:54

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

1 answer(s)
S
Stepan Kuznetsov, 2020-06-08
@aeonixlegit

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 question

Ask a Question

731 491 924 answers to any question