xapi-node
Advanced tools
Comparing version 2.6.0 to 2.6.2
@@ -87,3 +87,3 @@ "use strict"; | ||
t.transactionPromise.resolve === null && | ||
t.createdAt.elapsedMs() > 86400000) | ||
(t.createdAt.elapsedMs() > 600000 || t.command === 'getChartLastRequest' || t.command === 'getChartRangeRequest')) | ||
.forEach(transaction => { | ||
@@ -90,0 +90,0 @@ delete this.transactions[transaction.transactionId]; |
@@ -243,8 +243,4 @@ "use strict"; | ||
this.Stream.rejectOldTransactions(); | ||
if (Object.keys(this.Socket.transactions).length > 20000) { | ||
this.Socket.removeOldTransactions(); | ||
} | ||
if (Object.keys(this.Stream.transactions).length > 20000) { | ||
this.Stream.removeOldTransactions(); | ||
} | ||
this.Socket.removeOldTransactions(); | ||
this.Stream.removeOldTransactions(); | ||
}, 19000)); | ||
@@ -251,0 +247,0 @@ if (this.isSubscribeTrades) { |
{ | ||
"name": "xapi-node", | ||
"version": "2.6.0", | ||
"version": "2.6.2", | ||
"description": "This project makes it possible to get data from Forex market, execute market or limit order with NodeJS/JS through WebSocket connection", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
341777
6740