fix: test for worker file existence
[poolifier.git] / src / worker / abstract-worker.ts
index 93a36bad382fe5781f35d73b71a8169510b818ac..a6959a312fd7c8c8feb93b9bf6885a8581f83d7c 100644 (file)
@@ -311,7 +311,6 @@ export abstract class AbstractWorker<
       this.checkAlive.bind(this),
       (this.opts.maxInactiveTime ?? DEFAULT_MAX_INACTIVE_TIME) / 2
     )
-    this.checkAlive.bind(this)()
   }
 
   /**