X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FChargingStationWorker.ts;h=60d065642c7ef94585aa6902bf839354339dc6aa;hb=6bd808fd1dc554c8d55521b20a064447835ef04c;hp=24ee468c0a5cc1244cd52890fc279d07fde70df7;hpb=a4e5c2e2fc622bd263b8bd3595c37abfd0669a25;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/ChargingStationWorker.ts b/src/charging-station/ChargingStationWorker.ts index 24ee468c..60d06564 100644 --- a/src/charging-station/ChargingStationWorker.ts +++ b/src/charging-station/ChargingStationWorker.ts @@ -35,7 +35,6 @@ export let threadWorker: ThreadWorker; if (Configuration.workerPoolInUse()) { threadWorker = new ThreadWorker(startChargingStation, { maxInactiveTime: WorkerConstants.POOL_MAX_INACTIVE_TIME, - async: false, }); } else { // Add message listener to start charging station from main thread