I’m working on a parse-server node backend application that is running with PM2 (process manager for node). I would like to know what is the best practice to achieve a graceful shutdown of the parse-server application because I don’t want to shut the app down in the middle of a query or any unfinished job.
Here is what PM2 says about graceful shutdown
Thanks for your help !