Commit 842c4578 by Damien Moulard

couchdb auto compaction

parent 2d254598
Pipeline #1137 passed with stage
in 1 minute 23 seconds
...@@ -1576,7 +1576,7 @@ function init_pouchdb_sync() { ...@@ -1576,7 +1576,7 @@ function init_pouchdb_sync() {
sync = PouchDB.sync(couchdb_dbname, couchdb_server, { sync = PouchDB.sync(couchdb_dbname, couchdb_server, {
live: true, live: true,
retry: true, retry: true,
auto_compaction: false auto_compaction: true
}); });
sync.on('change', function (info) { sync.on('change', function (info) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment