X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConfigurationData.ts;h=b629dd3b0230fb116a73911a971c2ed7adb0a7c9;hb=4ec634b76a847dcf6a929c6584af4dbb9ed92c17;hp=ba9fb14ce993430379facda2f77d376e00e48a15;hpb=83e00df1c1ba02de8b637ca4cb0464eb909ebb18;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index ba9fb14c..b629dd3b 100644 --- a/src/types/ConfigurationData.ts +++ b/src/types/ConfigurationData.ts @@ -11,7 +11,7 @@ export type ServerOptions = ListenOptions; export enum SupervisionUrlDistribution { ROUND_ROBIN = 'round-robin', RANDOM = 'random', - SEQUENTIAL = 'sequential', + CHARGING_STATION_AFFINITY = 'charging-station-affinity', } export type StationTemplateUrl = { @@ -55,25 +55,26 @@ export type ConfigurationData = { performanceStorage?: StorageConfiguration; worker?: WorkerConfiguration; autoReconnectMaxRetries?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerProcess?: WorkerProcessType; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerStartDelay?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ elementStartDelay?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerPoolMinSize?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerPoolMaxSize?: number; - // deprecated + /** @deprecated Moved to worker configuration section. */ workerPoolStrategy?: WorkerChoiceStrategy; - // deprecated + /** @deprecated Moved to worker configuration section. */ chargingStationsPerWorker?: number; logStatisticsInterval?: number; logFormat?: string; logLevel?: string; logRotate?: boolean; - logMaxFiles?: number; + logMaxFiles?: number | string; + logMaxSize?: number | string; logFile?: string; logErrorFile?: string; logConsole?: boolean;