Skip to content

Commit aab0221

Browse files
committed
15 tries to 16 tries
1 parent 5c92e23 commit aab0221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/God.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ God.handleExit = function handleExit(clu, exit_code, kill_signal) {
283283

284284
// And if the process has an uptime less than a second
285285
var min_uptime = typeof(proc.pm2_env.min_uptime) !== 'undefined' ? proc.pm2_env.min_uptime : 1000;
286-
var max_restarts = typeof(proc.pm2_env.max_restarts) !== 'undefined' ? proc.pm2_env.max_restarts : 15;
286+
var max_restarts = typeof(proc.pm2_env.max_restarts) !== 'undefined' ? proc.pm2_env.max_restarts : 16;
287287

288288
if ((Date.now() - proc.pm2_env.created_at) < (min_uptime * max_restarts)) {
289289
if ((Date.now() - proc.pm2_env.pm_uptime) < min_uptime) {

0 commit comments

Comments
 (0)