From: aardizio Date: Tue, 16 Feb 2021 11:23:11 +0000 (+0100) Subject: Linting X-Git-Tag: v2.0.0-beta.2~17^2~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=3d15e8a7b08e6bbe8265793d0fd859d3113c4f4b;p=poolifier.git Linting --- diff --git a/src/utility-types.ts b/src/utility-types.ts index 82dbb423..2a2c1993 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -55,4 +55,3 @@ export interface MessageValue< */ readonly parent?: MainWorker } - 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' /**