DEV Community

Discussion on: Graceful shutdown NodeJS HTTP server when using PM2 (4/4)

Collapse
 
skiod profile image
Khalid Skiod

quick question sir, is there any tricks or params to wait until jobs to be finished then reload the server ??. i don't know when the jobs will be finished exactly and pm2 force us to use static param --timeout