feat: add tasks queue to pool data structure
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 8 Apr 2023 19:26:07 +0000 (21:26 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 8 Apr 2023 19:26:07 +0000 (21:26 +0200)
commitf06e48d8e14dcfe3277bd16b1bd2463136af13e6
tree92d543f3c49ccc73679f2b63e76312d11861132b
parent15e5141f463661f3dd0f17e8a9402703fddd4050
feat: add tasks queue to pool data structure

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
25 files changed:
CHANGELOG.md
src/index.ts
src/pools/abstract-pool.ts
src/pools/cluster/dynamic.ts
src/pools/cluster/fixed.ts
src/pools/pool-internal.ts
src/pools/pool.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
src/pools/selection-strategies/less-used-worker-choice-strategy.ts
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/selection-strategies-types.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
src/pools/thread/dynamic.ts
src/pools/thread/fixed.ts
src/pools/worker.ts [moved from src/pools/pool-worker.ts with 64% similarity]
src/utility-types.ts
tests/pools/abstract/abstract-pool.test.js
tests/pools/cluster/dynamic.test.js
tests/pools/selection-strategies/selection-strategies.test.js
tests/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.test.js
tests/pools/thread/dynamic.test.js
tests/test-utils.js