The project I did with Meteor has a memory leak that slowly builds up over a month or two. After plunging days looking for leaks, I throw a towel in favor of just adding an automatic restart that happens once a month. Yes, this is bad practice, etc.
Is there a way to just restart the server codebase from the inside? Ideally, this will also trigger an update for connected clients (similar to regular deployment updates).
Then I assume that this command could just be nested in the good old JS timeout function.
source share