From: Jérôme Benoit Date: Tue, 30 May 2023 08:54:58 +0000 (+0200) Subject: Merge branch 'master' of github.com:poolifier/poolifier into interleaved-weighted... X-Git-Tag: v2.5.0~3^2~16 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5a5fc090d6f7eb9248df1ba5c0ff4d001461b6d4;p=poolifier.git Merge branch 'master' of github.com:poolifier/poolifier into interleaved-weighted-round-robin-worker-choice-strategy Signed-off-by: Jérôme Benoit --- 5a5fc090d6f7eb9248df1ba5c0ff4d001461b6d4 diff --cc src/pools/selection-strategies/worker-choice-strategy-context.ts index 0d0d269c,21c24f7c..43bcb3ad --- a/src/pools/selection-strategies/worker-choice-strategy-context.ts +++ b/src/pools/selection-strategies/worker-choice-strategy-context.ts @@@ -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 { InterleavedWeightedRoundRobinWorkerChoiceStrategy } from './interleaved-weighted-round-robin-worker-choice-strategy' - import { LessBusyWorkerChoiceStrategy } from './less-busy-worker-choice-strategy' - import { LessUsedWorkerChoiceStrategy } from './less-used-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,