mirror of
https://github.com/Unitech/pm2.git
synced 2026-02-01 16:57:09 +00:00
Merge pull request #446 from dandv/patch-1
Mention the PM2_GRACEFUL_TIMEOUT env var
This commit is contained in:
commit
217eb0e13c
@ -371,6 +371,7 @@ It means that your app **still has open connections on exit**.
|
||||
|
||||
To work around this problem you have to use the graceful reload.
|
||||
Graceful reload is a mechanism that will send a *shutdown* message to your process before reloading it.
|
||||
You can control the time that the app has to shutdown via the `PM2_GRACEFUL_TIMEOUT` environment variable.
|
||||
|
||||
Example:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user