mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
#2996 delegate ready listener to reload function
This commit is contained in:
parent
6d934994b4
commit
792e4aaed6
@ -123,6 +123,8 @@ function hardReload(God, id, wait_msg, cb) {
|
||||
old_worker.pm2_env.pm_id = t_key;
|
||||
old_worker.pm_id = t_key;
|
||||
|
||||
new_env.wait_ready = false;
|
||||
|
||||
God.executeApp(new_env, function(err, new_worker) {
|
||||
if (err) return cb(err);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user