reduce highWaterMark on wallet export stream

This commit is contained in:
Gabe Gattis 2017-06-07 17:39:51 -04:00
parent f4491bd0d8
commit 46134e1a63
No known key found for this signature in database
GPG Key ID: 441430987182732C

View File

@ -714,7 +714,7 @@ WalletService.prototype._endpointGetTransactions = function() {
};
var missingTxidCount = 0;
var txStream = new Transform({ objectMode: true, highWaterMark: 1000000 });
var txStream = new Transform({ objectMode: true, highWaterMark: 100 });
//txids are sent in and the actual tx's are found here
txStream._transform = function(chunk, enc, callback) {
@ -1399,4 +1399,3 @@ WalletService.prototype.getRoutePrefix = function() {
};
module.exports = WalletService;