@hisorange/resistor
Advanced tools
Comparing version 1.1.5 to 1.1.6
@@ -195,3 +195,3 @@ "use strict"; | ||
// Limit the maximum "virtual threads" to the configured threshold. | ||
if (this.vThreads.length >= this.config.threads) { | ||
if (this._analytics.thread.active >= this.config.threads) { | ||
this._analytics.queue.maximum = Math.max(this._analytics.queue.maximum, ++this._analytics.queue.waiting); | ||
@@ -198,0 +198,0 @@ // Wait until a thread finishes and allows the execution of this flush. |
{ | ||
"name": "@hisorange/resistor", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Versatily resource load throttler with extensible strategies, configuration and virtual thread management.", | ||
@@ -31,2 +31,2 @@ "keywords": [ | ||
} | ||
} | ||
} |
@@ -211,2 +211,6 @@ ![Resistor](https://user-images.githubusercontent.com/3441017/119745067-ab632600-be8d-11eb-93e1-24d34ffe2a92.png) | ||
##### 1.1.6 | ||
- Fix an interesting V8 related bug where the array's length are cached within a tick | ||
##### 1.1.5 | ||
@@ -213,0 +217,0 @@ |
Sorry, the diff of this file is not supported yet
46048
237