X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes%2FConfigurationData.ts;h=9c7c098e2395667660f43138dd6616755bf3d072;hb=a02da55fb94060c8066bb885d0e76321e6f03d03;hp=3f51cb85c951184d6efe680d06272236bce08339;hpb=7ec46a9aab2376a8a5201ce57aba95116a00d291;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index 3f51cb85..9c7c098e 100644 --- a/src/types/ConfigurationData.ts +++ b/src/types/ConfigurationData.ts @@ -1,3 +1,5 @@ +import { WorkerProcessType } from './Worker'; + export interface StationTemplateURL { file: string; numberOfStations: number; @@ -7,13 +9,18 @@ export default interface ConfigurationData { supervisionURLs?: string[]; stationTemplateURLs: StationTemplateURL[]; statisticsDisplayInterval?: number; - autoReconnectTimeout?: number; + connectionTimeout?: number; autoReconnectMaxRetries?: number; - distributeStationToTenantEqually?: boolean; - useWorkerPool?: boolean; - workerPoolSize?: number; + distributeStationsToTenantsEqually?: boolean; + workerProcess?: WorkerProcessType; + workerStartDelay?: number; + workerPoolMinSize?: number; + workerPoolMaxSize?: number; + chargingStationsPerWorker?: number; logFormat?: string; logLevel?: string; + logRotate?: boolean; + logMaxFiles?: number; logFile?: string; logErrorFile?: string; logConsole?: boolean;