Skip to content

Commit dbf4275

Browse files
committed
[api] Default minUptime to 0
1 parent 079ca20 commit dbf4275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/forever/monitor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var Monitor = exports.Monitor = function (script, options) {
4141
// Setup restart timing. These options control how quickly forever restarts
4242
// a child process as well as when to kill a "spinning" process
4343
//
44-
this.minUptime = typeof options.minUptime !== 'number' ? 2000 : options.minUptime;
44+
this.minUptime = typeof options.minUptime !== 'number' ? 0 : options.minUptime;
4545
this.spinSleepTime = options.spinSleepTime || null;
4646

4747
//

0 commit comments

Comments
 (0)