reduce highWaterMark on wallet export stream
This commit is contained in:
parent
f4491bd0d8
commit
46134e1a63
@ -714,7 +714,7 @@ WalletService.prototype._endpointGetTransactions = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
var missingTxidCount = 0;
|
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
|
//txids are sent in and the actual tx's are found here
|
||||||
txStream._transform = function(chunk, enc, callback) {
|
txStream._transform = function(chunk, enc, callback) {
|
||||||
|
|
||||||
@ -1399,4 +1399,3 @@ WalletService.prototype.getRoutePrefix = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
module.exports = WalletService;
|
module.exports = WalletService;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user