Skip to content

Commit

Permalink
[api] Default minUptime to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Jul 3, 2011
1 parent 079ca20 commit dbf4275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var Monitor = exports.Monitor = function (script, options) {
// Setup restart timing. These options control how quickly forever restarts
// a child process as well as when to kill a "spinning" process
//
this.minUptime = typeof options.minUptime !== 'number' ? 2000 : options.minUptime;
this.minUptime = typeof options.minUptime !== 'number' ? 0 : options.minUptime;
this.spinSleepTime = options.spinSleepTime || null;

//
Expand Down

0 comments on commit dbf4275

Please sign in to comment.