X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConfigurationData.ts;h=125ecef636d693afc840fd16b35abde81308a0ec;hb=46eb543c2eb31661c078b7e9697dacc593d83e5e;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..125ecef6 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,17 @@ 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; + workerPoolMinSize?: number; + workerPoolMaxSize?: number; + chargingStationsPerWorker?: number; logFormat?: string; logLevel?: string; + logRotate?: boolean; + logMaxFiles?: number; logFile?: string; logErrorFile?: string; logConsole?: boolean;