X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fabstract-worker.ts;h=cb33188e5778a3c9a31cc30f6ae93cb46b33567c;hb=3d15e8a7b08e6bbe8265793d0fd859d3113c4f4b;hp=bbf8f7065cf32656e2afd5c67b9b840fc0ff8c7b;hpb=fb41d7f7735b2e2b13874c11aeb55829f79f292f;p=poolifier.git diff --git a/src/worker/abstract-worker.ts b/src/worker/abstract-worker.ts index bbf8f706..cb33188e 100644 --- a/src/worker/abstract-worker.ts +++ b/src/worker/abstract-worker.ts @@ -3,10 +3,10 @@ import type { Worker } from 'cluster' import type { MessagePort } from 'worker_threads' import type { MessageValue, KillBehavior } from '../utility-types' import type { WorkerOptions } from './worker-options' -import { killBehaviorEnumeration } from './worker-options' +// import { killBehaviorEnumeration } from './worker-options' const defaultMaxInactiveTime = 1000 * 60 -// TODO Shinigami92 to fix this and avoid that SOFT/HARD words are replicated so much times into the project +// TODO fix this and avoid that SOFT/HARD words are replicated so much times into the project const defaultKillBehavior: KillBehavior = 'SOFT' /**