X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fworker%2Fabstract-worker.ts;h=428f63134f5666a13087ca564a22336236f00db2;hb=c62a9bbc12416e26acbb3b86b5090d6186b14b60;hp=0f1d442a6f242ef2a25068f8e212f2fbff686a37;hpb=984dc9c8adc66d4ed982e76391db751dd685f0b2;p=poolifier.git diff --git a/src/worker/abstract-worker.ts b/src/worker/abstract-worker.ts index 0f1d442a..428f6313 100644 --- a/src/worker/abstract-worker.ts +++ b/src/worker/abstract-worker.ts @@ -335,7 +335,6 @@ export abstract class AbstractWorker< this.checkActive.bind(this), (this.opts.maxInactiveTime ?? DEFAULT_MAX_INACTIVE_TIME) / 2 ) - this.activeInterval.unref() } /** @@ -373,7 +372,7 @@ export abstract class AbstractWorker< } /** - * Sends a message to the main worker. + * Sends a message to main worker. * * @param message - The response message. */