feat: add elementsPerWorker automatic calculation
[e-mobility-charging-stations-simulator.git] / src / types / ConfigurationData.ts
index a244aa45d7cfafa99c6e6ca32568c5ac8b5738fd..94ac3b34eb2645c94639b51ff077c4704d2b9292 100644 (file)
@@ -53,7 +53,7 @@ export type StorageConfiguration = {
 export type WorkerConfiguration = {
   processType?: WorkerProcessType;
   startDelay?: number;
-  elementsPerWorker?: number;
+  elementsPerWorker?: number | 'auto';
   elementStartDelay?: number;
   poolMinSize?: number;
   poolMaxSize?: number;