@acot/core
Advanced tools
Comparing version 0.0.17-canary.0 to 0.0.17-canary.1
@@ -79,4 +79,5 @@ "use strict"; | ||
} | ||
(0, logging_1.debug)('browser pool stats >> available %d | busy %d | queue %d', this._available.size, this._busy.size, this._queue.size); | ||
const job = this._queue.dequeue(); | ||
const browser = [...this._available.values()].shift(); | ||
const browser = this._available.values().next().value; | ||
this._available.delete(browser); | ||
@@ -83,0 +84,0 @@ this._busy.add(browser); |
@@ -178,3 +178,5 @@ "use strict"; | ||
try { | ||
this._debug(`${id} -- test start`); | ||
await rule.test(context); | ||
this._debug(`${id} -- test complete`); | ||
} | ||
@@ -181,0 +183,0 @@ catch (e) { |
{ | ||
"name": "@acot/core", | ||
"version": "0.0.17-canary.0", | ||
"version": "0.0.17-canary.1", | ||
"description": "More accessible web, all over the world.", | ||
@@ -63,3 +63,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "613ef7fb03389f03ccc7ddeb63f3dec9d967cfd7" | ||
"gitHead": "a9f66324bb9cb0c01e34f33f7886137d6bba8ed8" | ||
} |
39024
976