X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConfigurationData.ts;h=91437807a629363c6df60260c4397fe1d4916726;hb=6b10669bf67da4baa14bc5b28161710e4025c913;hp=bc4e0f8846225ffb7547d216e21bb05c340ddf5a;hpb=5fdab605ce885d9a9fb21ac47c6d0766bd3673bb;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index bc4e0f88..91437807 100644 --- a/src/types/ConfigurationData.ts +++ b/src/types/ConfigurationData.ts @@ -1,3 +1,6 @@ +import type { WorkerChoiceStrategy } from 'poolifier'; +import { WorkerProcessType } from './Worker'; + export interface StationTemplateURL { file: string; numberOfStations: number; @@ -7,11 +10,13 @@ export default interface ConfigurationData { supervisionURLs?: string[]; stationTemplateURLs: StationTemplateURL[]; statisticsDisplayInterval?: number; - connectionTimeout?: number; autoReconnectMaxRetries?: number; distributeStationsToTenantsEqually?: boolean; - useWorkerPool?: boolean; - workerPoolSize?: number; + workerProcess?: WorkerProcessType; + workerStartDelay?: number; + workerPoolMinSize?: number; + workerPoolMaxSize?: number; + workerPoolStrategy?: WorkerChoiceStrategy; chargingStationsPerWorker?: number; logFormat?: string; logLevel?: string;