migrate: less memory usage for chaindb2to3. see #271.

This commit is contained in:
Christopher Jeffrey 2017-08-11 00:29:25 -07:00
parent f41724046e
commit 1a48ba78f1
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -233,7 +233,7 @@ async function reserializeUndo(hash) {
batch.put(pair('u', tip.hash), undo.toRaw());
if (++total % 1000 === 0) {
if (++total % 100 === 0) {
console.log(
'Reserialized %d undo records (%d coins).',
total, totalCoins);