Reset all internal statistics at worker choice strategy change
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 11 Oct 2022 20:35:06 +0000 (22:35 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 11 Oct 2022 20:35:06 +0000 (22:35 +0200)
commitea7a90d36354a4e1c833271571c6f3eb80428600
tree428cfcedb4441669c44c0874ce0e055c93fb7a9a
parent0f3efafd05a3fa733a0f49c336f42cc61ab52e6a
Reset all internal statistics at worker choice strategy change

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
17 files changed:
src/index.ts
src/pools/abstract-pool-worker.ts [deleted file]
src/pools/abstract-pool.ts
src/pools/pool-internal.ts
src/pools/pool-worker.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/less-recently-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/selection-strategies-utils.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
src/utility-types.ts
src/worker/abstract-worker.ts
src/worker/worker-options.ts