X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FConfigurationData.ts;h=d1948921660b0da42774c813686405c2baf4d74c;hb=a735b6738fbd7325c9482291e73dd018cd03be0a;hp=5057aed9aec8c8d666de673593f21f062a5b2e8a;hpb=487f0dfd58d97d4755718793e313f02aaddb1a6d;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index 5057aed9..d1948921 100644 --- a/src/types/ConfigurationData.ts +++ b/src/types/ConfigurationData.ts @@ -64,10 +64,12 @@ export interface StorageConfiguration { uri?: string; } +export type ElementsPerWorkerType = number | 'auto' | 'all'; + export interface WorkerConfiguration { processType?: WorkerProcessType; startDelay?: number; - elementsPerWorker?: number | 'auto' | 'single'; + elementsPerWorker?: ElementsPerWorkerType; elementStartDelay?: number; poolMinSize?: number; poolMaxSize?: number;