42 Commits

Author SHA1 Message Date
Unitech
0059ad53e0 (god)(reload) support --wait-ready in reload #2478 2016-10-29 20:16:19 +02:00
Unitech
12caa47630 (god)(reload) drop removeAllListeners to continue streaming logs 2016-10-29 19:56:31 +02:00
Unitech
a53fd17a70 #2472 fallback to restart when trying to reload/gracefulReload for ready mechanism 2016-10-27 17:05:40 +02:00
Unitech
f6b550ca4e #2471 make env immutable and fix watch 2016-10-26 18:07:03 +02:00
Unitech
f4c12ff6d9 #2261 --listen-timeout to configure timeout before app is bind to port 2016-07-04 23:12:23 +02:00
Unitech
a707c33110 replace JSON cloning with fclone 2016-07-04 20:02:30 +02:00
Unitech
20344a58f1 #2188 remove any possibility for Daemon to require Satan.js 2016-05-27 00:59:50 +02:00
Unitech
c3c0fcff46 add Copyright header to each file 2016-03-22 23:33:43 +01:00
Unitech
aac1919741 #2012 #1650 #1743 #1613: allow reconfiguration attrs/env on reload 2016-03-11 16:23:11 +01:00
Unitech
3469b5802b Options attrs updatable via CLI and JSON - small refactor for programmatic usage 2016-03-09 12:16:58 +01:00
jshkurti
dea0583031 fix #1285 2015-05-26 16:37:52 +02:00
jshkurti
966fcc35a4 Refactor reload/gracefulRelaod a bit 2015-03-23 20:45:09 +01:00
jshkurti
ec603c5f11 travis test 2 2015-03-09 20:00:06 +01:00
jshkurti
81f8a384db replaced all removeListener by removeAllListeners(event) 2015-03-09 19:21:12 +01:00
jshkurti
37eed651bf mini fix 2014-12-05 15:46:42 +01:00
jshkurti
cf945175ee mini refactor God/Reload.js 2014-12-05 15:43:29 +01:00
Unitech
0b3a2c693e State ERRORED_STATUS like stopped/stopping - calling reloadProcessId restart if app stopped or not cluster_mode (fix pull&reload bug) - change exec logic order - flattify Methods.backward 2014-11-26 01:03:53 +01:00
Unitech
3b2d22ac70 Harden Lock - flatten concurrent action constant 2014-11-16 19:46:46 +01:00
EC2 Default User
e1d2ce8411 Added environment variable PM2_GRACEFUL_LISTEN_TIMEOUT to define how much time pm2 will wait for the child process to send a listening event in cluster mode before sending the shutdown message to the old process 2014-10-25 20:23:48 +00:00
tknew2
2058825fd9 unbind all event on force iddle state 2014-10-10 17:43:58 +02:00
tknew2
b3d6fa06ab harden core 2014-10-10 17:13:20 +02:00
Joni Shkurti
d914a9963d even hardReaload now sends 'shutdown' event before killing a worker 2014-10-10 14:37:18 +02:00
Joni Shkurti
59169426cb refactor gracefulReload (bis) 2014-10-07 16:11:25 +02:00
Joni Shkurti
77ede030e8 test reseau 2014-10-07 14:30:05 +02:00
Joni Shkurti
c9f5502c7a refractored graceFulReload hotfix 2014-10-03 21:05:32 +02:00
Joni Shkurti
00f3c10272 refractored graceFulReload 2014-10-03 20:44:06 +02:00
tknew2
cdf2872feb refactor test folder structure - homogeneize pm2 protocols (pm2/pm2-interface/interactor) - write new test - fix cli double callback calls - God now exposes only Id process related methods (no all - no name), only CLI now do 'smart' operations - move deprecated God methods to deprecated.js 2014-09-21 00:39:12 +02:00
tknew2
decdc81b95 Better messages - pm2 logs display also internal logs 2014-09-11 18:04:33 +02:00
tknew2
2271bb808b test new protocol 2014-08-13 01:22:47 +02:00
tknew2
ac397f6bf6 Add event for further inspection 2014-07-11 18:38:48 +02:00
soyuka
290a5e58e7 Improved code format - Removed unused variables and not necessary semicolons 2014-06-20 19:24:21 +02:00
tknew2
cf46c99303 add comments 2014-06-13 16:11:43 +02:00
Nathan Rugg
d99d34c8c9 Allow scripts to indicate they're online with process.send("online") 2014-06-05 01:47:39 +08:00
Nathan Rugg
74b8222388 Wait for apps that don't respond.
And don't throw if they are already disconnected.
2014-06-05 01:47:02 +08:00
tknew2
3442feca01 test interface - test interaction - little fixes 2014-05-21 16:01:53 +02:00
tknew2
6ca006ef42 add watchdog 2014-05-13 14:56:01 +02:00
tknew2
a6ccbc93d5 new pm2-usage module w/o native bindings 2014-05-09 14:38:19 +02:00
tknew2
40ec3cfd14 #381 Added support for Amazon Linux startup script 2014-04-11 18:40:30 +08:00
tknew2
74b4bd83d5 force stop and add stopping state to process 2014-02-13 13:55:50 +01:00
tknew2
9057024b72 surround disconnect with try/catch 2014-01-29 12:21:47 +01:00
tknew2
b89ef559cb add strict 2014-01-14 20:48:19 +01:00
tknew2
750a47ace0 refactor code - explose God.js - graceful reload feature - update README - more tests 2014-01-14 19:30:36 +01:00