Skip to content

Commit

Permalink
FIX - couch default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiswe committed Apr 29, 2015
1 parent d28f418 commit 2617b72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions couch_db.js
Expand Up @@ -28,6 +28,12 @@ exports.database = function(settings) {
this.db = null;
this.client = null;
this.settings = settings;

// force some settings
// used by CacheAndBufferLayer.js
this.settings.cache = 1000;
this.settings.writeInterval = 100;
this.settings.json = false;
};

exports.database.prototype.init = function(callback) {
Expand Down

0 comments on commit 2617b72

Please sign in to comment.