[Pkg-javascript-commits] [node-leveldown] 445/492: Compression should be enabled by default (ref. doc).
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:30 UTC 2014
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.
commit 966760ec03c76cc69b05978b680c06fe0dbb7403
Author: Amine Mouafik <amine at mouafik.fr>
Date: Thu Nov 14 13:39:06 2013 +0800
Compression should be enabled by default (ref. doc).
---
src/database.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/database.cc b/src/database.cc
index 89b201e..4c4f1f6 100644
--- a/src/database.cc
+++ b/src/database.cc
@@ -191,7 +191,8 @@ NAN_METHOD(Database::Open) {
);
bool errorIfExists =
NanBooleanOptionValue(optionsObj, NanSymbol("errorIfExists"));
- bool compression = NanBooleanOptionValue(optionsObj, NanSymbol("compression"));
+ bool compression =
+ NanBooleanOptionValue(optionsObj, NanSymbol("compression"), true);
uint32_t cacheSize = NanUInt32OptionValue(
optionsObj
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git
More information about the Pkg-javascript-commits
mailing list