X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworker%2FWorkerConstants.ts;h=ded5c89142f8e2aa9f485ed9df6ea476a7832100;hb=6e177b76d80dc30e471ec9f3500560285c48fc0f;hp=28e9927dd42790bfb43ae74d19141129abdfa162;hpb=da47bc294fb5e439e96faaf9441ba0cd23e64f9c;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerConstants.ts b/src/worker/WorkerConstants.ts index 28e9927d..ded5c891 100644 --- a/src/worker/WorkerConstants.ts +++ b/src/worker/WorkerConstants.ts @@ -22,6 +22,7 @@ export const DEFAULT_WORKER_OPTIONS: WorkerOptions = Object.freeze({ poolMaxSize: DEFAULT_POOL_MAX_SIZE, elementsPerWorker: DEFAULT_ELEMENTS_PER_WORKER, poolOptions: { + startWorkers: false, enableEvents: true, restartWorkerOnError: true, errorHandler: defaultErrorHandler,