X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2FWorkerStaticPool.ts;h=acc61b8fad0fadac0fa66a7f7433a9e143db4658;hb=156c5f4ee0466adeb90e1e131e98b3f271955787;hp=b1cc718949b4d0ea94d3c338315bf8284cd45e43;hpb=e1d9a0f4d6ff1a90048e9a694fd12b7031cc6961;p=e-mobility-charging-stations-simulator.git diff --git a/src/worker/WorkerStaticPool.ts b/src/worker/WorkerStaticPool.ts index b1cc7189..acc61b8f 100644 --- a/src/worker/WorkerStaticPool.ts +++ b/src/worker/WorkerStaticPool.ts @@ -13,7 +13,7 @@ export class WorkerStaticPool extends WorkerAbstract { * @param workerScript - * @param workerOptions - */ - constructor(workerScript: string, workerOptions?: WorkerOptions) { + constructor(workerScript: string, workerOptions: WorkerOptions) { super(workerScript, workerOptions); this.pool = new FixedThreadPool( this.workerOptions.poolMaxSize,