Permalink
Browse files

[dist] Fixed memory leak, totally functional

  • Loading branch information...
1 parent 24fbc4b commit d94a052af26ba39b9cf10f663c23d45e543cd222 @alejandro alejandro committed Mar 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/child.js
  2. +1 −1 lib/watcher.js
View
@@ -1,4 +1,4 @@
-(new (require('../lib/watcher'))({
+(new (require('node-watcher'))({
host:'localhost',
user:'alejandromg',
password:'34141231',
View
@@ -46,7 +46,7 @@ Watcher.prototype.emitter = function(options){
process.maxMemory = options.maxMemory ? options.maxMemory*1024:-1;
process.thisBorn = Date.now();
process.maxLifeTime = options.maxLifeTime;
- options.interval = options.interval || 200;
+ options.interval = options.interval || 20000;
process.checkSpace = options.checkSpace || true;
process.maxSpace = options.sizeSpace*1024 || 25000;
process.endPoint = this.endPoint || '/env/audit';

0 comments on commit d94a052

Please sign in to comment.