test: improve task error handling
[poolifier.git] / src / pools / cluster / fixed.ts
index 0ca0250cecdf4d02f712c5fee30ce699701ba58f..f22906dfc00f89ba32430f63732492eb986dcfd3 100644 (file)
@@ -54,7 +54,7 @@ export class FixedClusterPool<
   public constructor (
     numberOfWorkers: number,
     filePath: string,
-    public readonly opts: ClusterPoolOptions = {}
+    protected readonly opts: ClusterPoolOptions = {}
   ) {
     super(numberOfWorkers, filePath, opts)
   }
@@ -119,11 +119,6 @@ export class FixedClusterPool<
     return this.numberOfWorkers
   }
 
-  /** @inheritDoc */
-  protected get full (): boolean {
-    return this.workerNodes.length >= this.numberOfWorkers
-  }
-
   /** @inheritDoc */
   protected get busy (): boolean {
     return this.internalBusy()