We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
minUptime
1 parent 079ca20 commit dbf4275Copy full SHA for dbf4275
lib/forever/monitor.js
@@ -41,7 +41,7 @@ var Monitor = exports.Monitor = function (script, options) {
41
// Setup restart timing. These options control how quickly forever restarts
42
// a child process as well as when to kill a "spinning" process
43
//
44
- this.minUptime = typeof options.minUptime !== 'number' ? 2000 : options.minUptime;
+ this.minUptime = typeof options.minUptime !== 'number' ? 0 : options.minUptime;
45
this.spinSleepTime = options.spinSleepTime || null;
46
47
0 commit comments