Commit | Line | Data |
---|---|---|
9efbac5b | 1 | import type { WorkerChoiceStrategy } from 'poolifier'; |
a4624c96 JB |
2 | import { WorkerProcessType } from './Worker'; |
3 | ||
e118beaa JB |
4 | export interface StationTemplateURL { |
5 | file: string; | |
6 | numberOfStations: number; | |
7 | } | |
8 | ||
9 | export default interface ConfigurationData { | |
10 | supervisionURLs?: string[]; | |
11 | stationTemplateURLs: StationTemplateURL[]; | |
12 | statisticsDisplayInterval?: number; | |
e118beaa | 13 | autoReconnectMaxRetries?: number; |
524d9cb3 | 14 | distributeStationsToTenantsEqually?: boolean; |
a4624c96 | 15 | workerProcess?: WorkerProcessType; |
322c9192 | 16 | workerStartDelay?: number; |
a4624c96 | 17 | workerPoolMinSize?: number; |
4fa59b8a | 18 | workerPoolMaxSize?: number; |
9efbac5b | 19 | workerPoolStrategy?: WorkerChoiceStrategy; |
5fdab605 | 20 | chargingStationsPerWorker?: number; |
e118beaa JB |
21 | logFormat?: string; |
22 | logLevel?: string; | |
6bf6769e JB |
23 | logRotate?: boolean; |
24 | logMaxFiles?: number; | |
e118beaa | 25 | logFile?: string; |
7ec46a9a JB |
26 | logErrorFile?: string; |
27 | logConsole?: boolean; | |
e118beaa | 28 | } |