feat: add graceful shutdown
[e-mobility-charging-stations-simulator.git] / src / charging-station / ChargingStationWorker.ts
index 24ee468c0a5cc1244cd52890fc279d07fde70df7..60d065642c7ef94585aa6902bf839354339dc6aa 100644 (file)
@@ -35,7 +35,6 @@ export let threadWorker: ThreadWorker;
 if (Configuration.workerPoolInUse()) {
   threadWorker = new ThreadWorker<ChargingStationWorkerData>(startChargingStation, {
     maxInactiveTime: WorkerConstants.POOL_MAX_INACTIVE_TIME,
-    async: false,
   });
 } else {
   // Add message listener to start charging station from main thread