Merge branch 'master' of github.com:poolifier/poolifier into interleaved-weighted...
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 30 May 2023 08:54:58 +0000 (10:54 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 30 May 2023 08:54:58 +0000 (10:54 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
1  2 
src/pools/selection-strategies/selection-strategies-types.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
tests/pools/selection-strategies/selection-strategies.test.js

index 0d0d269c076537bd2018cc4cc9450ea43584a6b8,21c24f7c63799561f1b32e17ebda121b5a2464d3..43bcb3adee19a9aaedf072e526f0b59235e55b40
@@@ -2,9 -2,8 +2,9 @@@ import { DEFAULT_WORKER_CHOICE_STRATEGY
  import type { IPool } from '../pool'
  import type { IWorker } from '../worker'
  import { FairShareWorkerChoiceStrategy } from './fair-share-worker-choice-strategy'
- import { LessBusyWorkerChoiceStrategy } from './less-busy-worker-choice-strategy'
- import { LessUsedWorkerChoiceStrategy } from './less-used-worker-choice-strategy'
 +import { InterleavedWeightedRoundRobinWorkerChoiceStrategy } from './interleaved-weighted-round-robin-worker-choice-strategy'
+ import { LeastBusyWorkerChoiceStrategy } from './least-busy-worker-choice-strategy'
+ import { LeastUsedWorkerChoiceStrategy } from './least-used-worker-choice-strategy'
  import { RoundRobinWorkerChoiceStrategy } from './round-robin-worker-choice-strategy'
  import type {
    IWorkerChoiceStrategy,