export enum SupervisionUrlDistribution {
ROUND_ROBIN = 'round-robin',
RANDOM = 'random',
- SEQUENTIAL = 'sequential',
+ CHARGING_STATION_AFFINITY = 'charging-station-affinity',
}
export type StationTemplateUrl = {
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;