perf: reduce OCPPUtils memory usage
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
index 5057aed9aec8c8d666de673593f21f062a5b2e8a..d1948921660b0da42774c813686405c2baf4d74c 100644 (file)
@@ -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;