Skip to content

Commit

Permalink
reduce highWaterMark on wallet export stream
Browse files Browse the repository at this point in the history
  • Loading branch information
gabegattis committed Jun 7, 2017
1 parent f4491bd commit 46134e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/services/wallet-api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down Expand Up @@ -1399,4 +1399,3 @@ WalletService.prototype.getRoutePrefix = function() {
};

module.exports = WalletService;

0 comments on commit 46134e1

Please sign in to comment.