[Pkg-javascript-commits] [node-leveldown] 04/07: update basho leveldb compile

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:21:27 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to tag basho-0.10.0
in repository node-leveldown.

commit fce3121b1204bbded303c021f37630867a8b60a5
Author: Rod Vagg <rod at vagg.org>
Date:   Tue Jun 18 19:19:09 2013 +1000

    update basho leveldb compile
---
 deps/leveldb/leveldb-basho | 2 +-
 src/database_async.cc      | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/deps/leveldb/leveldb-basho b/deps/leveldb/leveldb-basho
index f9589ec..79547d7 160000
--- a/deps/leveldb/leveldb-basho
+++ b/deps/leveldb/leveldb-basho
@@ -1 +1 @@
-Subproject commit f9589ecddddae1bf10e7a9b6e64a36b4a58c419a
+Subproject commit 79547d7115c968fc69fd744ad1e8352c42cb8dd0
diff --git a/src/database_async.cc b/src/database_async.cc
index 3a06928..942a954 100644
--- a/src/database_async.cc
+++ b/src/database_async.cc
@@ -13,6 +13,7 @@
 #include "leveldown.h"
 #include "async.h"
 #include "database_async.h"
+#include "leveldb/filter_policy.h"
 
 namespace leveldown {
 
@@ -42,7 +43,8 @@ OpenWorker::OpenWorker (
   options->block_size             = blockSize;
   options->max_open_files         = maxOpenFiles;
   options->block_restart_interval = blockRestartInterval;
-  options->filter_policy          = leveldb::NewBloomFilterPolicy(10);
+  // basho specific
+  options->filter_policy          = leveldb::NewBloomFilterPolicy2(16); 
 };
 
 OpenWorker::~OpenWorker () {

-- 
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