From: Jérôme Benoit Date: Mon, 17 Oct 2022 09:16:17 +0000 (+0200) Subject: Default to ROUND_ROBIN poolifier tasks scheduling until X-Git-Tag: v1.1.84~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=5cfb6feecf97e4b2c158fc08e10aca84bbdd2bb8;p=e-mobility-charging-stations-simulator.git Default to ROUND_ROBIN poolifier tasks scheduling until https://github.com/poolifier/poolifier/issues/596 is fixed Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index db0eebb7..8c13db91 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -219,7 +219,7 @@ export default class Configuration { ? Configuration.getConfig().workerPoolMaxSize : WorkerConstants.DEFAULT_POOL_MAX_SIZE, poolStrategy: - Configuration.getConfig().workerPoolStrategy ?? WorkerChoiceStrategies.FAIR_SHARE, + Configuration.getConfig().workerPoolStrategy ?? WorkerChoiceStrategies.ROUND_ROBIN, }; if (Configuration.objectHasOwnProperty(Configuration.getConfig(), 'worker')) { workerConfiguration = { ...workerConfiguration, ...Configuration.getConfig().worker };