blockchain33
Advanced tools
Comparing version 0.0.44 to 0.0.45
@@ -92,5 +92,3 @@ "use strict"; | ||
limiter: new bottleneck_1.default({ | ||
maxConcurrent: x.requestsPerSecond, | ||
minTime: 1000 / x.requestsPerSecond, | ||
timeout: 5000 | ||
minTime: 1000 / x.requestsPerSecond | ||
}) | ||
@@ -97,0 +95,0 @@ })); |
@@ -48,3 +48,3 @@ "use strict"; | ||
console.log('- delayed call: ', part.length); | ||
this.bc.getLimitter(this.net).schedule(() => (0, multicall_1.multiCallLinear)(this.net, part.map(item => ({ target: item.target, arguments: item.args, face: item.face, method: item.method }))).then(results => { | ||
this.bc.getLimitter(this.net).schedule({ id: "delayed" + new Date().getTime() }, () => (0, multicall_1.multiCallLinear)(this.net, part.map(item => ({ target: item.target, arguments: item.args, face: item.face, method: item.method }))).then(results => { | ||
if (this.debug) | ||
@@ -51,0 +51,0 @@ console.log('- delayed results: ', results.length); |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "0.0.44", | ||
"version": "0.0.45", | ||
"description": "utilities for All blockchain like EVM (ETH)", | ||
@@ -14,0 +14,0 @@ "main": "dist/blockchain.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
570035
5565