[Pkg-javascript-commits] [node-leveldown] 194/492: remove useBatch in copy
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:13:58 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 f3bdacc6a31523b1ebc74202371ab362cdf5d992
Author: Lars-Magnus Skog <lars.magnus.skog at gmail.com>
Date: Wed Jan 30 02:05:32 2013 +0100
remove useBatch in copy
---
lib/util.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/util.js b/lib/util.js
index 77e971e..3b3e1f8 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -49,7 +49,7 @@ var encodings = [
, copy = function (srcdb, dstdb, callback) {
srcdb.readStream()
- .pipe(dstdb.writeStream({ useBatch: false }))
+ .pipe(dstdb.writeStream())
.on('close', callback ? callback : function () {})
.on('error', callback ? callback : function (err) { throw err })
}
--
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