From: Jérôme Benoit Date: Mon, 10 Oct 2022 17:09:42 +0000 (+0200) Subject: src/pools/selection-strategies/weighted-round-robin-choice-strategy.ts -> src/pools... X-Git-Tag: v2.3.1~36 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fa6f12966fa14931864dcd13596e080d689464b3;p=poolifier.git src/pools/selection-strategies/weighted-round-robin-choice-strategy.ts -> src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/selection-strategies/selection-strategies-utils.ts b/src/pools/selection-strategies/selection-strategies-utils.ts index a44ba6c6..fa1c1e07 100644 --- a/src/pools/selection-strategies/selection-strategies-utils.ts +++ b/src/pools/selection-strategies/selection-strategies-utils.ts @@ -8,7 +8,7 @@ import type { WorkerChoiceStrategy } from './selection-strategies-types' import { WorkerChoiceStrategies } from './selection-strategies-types' -import { WeightedRoundRobinWorkerChoiceStrategy } from './weighted-round-robin-choice-strategy' +import { WeightedRoundRobinWorkerChoiceStrategy } from './weighted-round-robin-worker-choice-strategy' /** * Worker selection strategies helpers class. diff --git a/src/pools/selection-strategies/weighted-round-robin-choice-strategy.ts b/src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts similarity index 100% rename from src/pools/selection-strategies/weighted-round-robin-choice-strategy.ts rename to src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts diff --git a/tests/pools/selection-strategies/selection-strategies-utils.test.js b/tests/pools/selection-strategies/selection-strategies-utils.test.js index ac1836e7..ba9545f9 100644 --- a/tests/pools/selection-strategies/selection-strategies-utils.test.js +++ b/tests/pools/selection-strategies/selection-strategies-utils.test.js @@ -18,7 +18,7 @@ const { } = require('../../../lib/pools/selection-strategies/fair-share-worker-choice-strategy') const { WeightedRoundRobinWorkerChoiceStrategy -} = require('../../../lib/pools/selection-strategies/weighted-round-robin-choice-strategy') +} = require('../../../lib/pools/selection-strategies/weighted-round-robin-worker-choice-strategy') describe('Selection strategies utils test suite', () => { const max = 3 diff --git a/tests/pools/selection-strategies/worker-choice-strategy-context.test.js b/tests/pools/selection-strategies/worker-choice-strategy-context.test.js index c33dad80..5ffd66a3 100644 --- a/tests/pools/selection-strategies/worker-choice-strategy-context.test.js +++ b/tests/pools/selection-strategies/worker-choice-strategy-context.test.js @@ -19,7 +19,7 @@ const { } = require('../../../lib/pools/selection-strategies/fair-share-worker-choice-strategy') const { WeightedRoundRobinWorkerChoiceStrategy -} = require('../../../lib/pools/selection-strategies/weighted-round-robin-choice-strategy') +} = require('../../../lib/pools/selection-strategies/weighted-round-robin-worker-choice-strategy') const { DynamicPoolWorkerChoiceStrategy } = require('../../../lib/pools/selection-strategies/dynamic-pool-worker-choice-strategy')