Skip to content

Commit

Permalink
Tune writeBundle performance
Browse files Browse the repository at this point in the history
  • Loading branch information
felixge committed Sep 24, 2010
1 parent 87f9d04 commit cde9bad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dirty/dirty.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var Dirty = exports.Dirty = function(path) {
EventEmitter.call(this);

this.path = path;
this.writeBundle = 100;
this.writeBundle = 1000;

this._docs = {};
this._queue = [];
Expand Down
2 changes: 1 addition & 1 deletion test/simple/test-dirty.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var Dirty = require('dirty'),
assert.ok(dirty instanceof EventEmitter);
assert.deepEqual(dirty._docs, {});
assert.deepEqual(dirty._queue, []);
assert.strictEqual(dirty.writeBundle, 100);
assert.strictEqual(dirty.writeBundle, 1000);
assert.strictEqual(dirty._writeStream, null);
assert.strictEqual(dirty._readStream, null);
})();
Expand Down

0 comments on commit cde9bad

Please sign in to comment.