X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fworker.ts;h=7ab1fc5649e0c0ec366a67225304e9fc9577e47e;hb=70075ce9218f5a5a07c0decf0068775ae351c356;hp=1d8af8d904555461173c214fc35172f53160d82e;hpb=fbcf5e158672b78b5c495f30df86699a1b2360d4;p=poolifier.git diff --git a/examples/typescript/worker.ts b/examples/typescript/worker.ts index 1d8af8d9..7ab1fc56 100644 --- a/examples/typescript/worker.ts +++ b/examples/typescript/worker.ts @@ -12,7 +12,7 @@ export interface MyResponse { class MyThreadWorker extends ThreadWorker { constructor () { super(async (data?: MyData) => await this.process(data), { - maxInactiveTime: 60000 + maxInactiveTime: 60000, }) }