X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Ffixed.ts;h=601ee532a0964c84a45016f50db523e80c2e12d4;hb=5c5a1fb79906f18560012263239e7bd611ee8d2b;hp=f17deed7228da7abbbf4b1583086c55059f01b5e;hpb=1641b313a20f6d9de889498a8f04f2e4fa6ca11f;p=poolifier.git diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index f17deed7..601ee532 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -36,16 +36,16 @@ export class FixedClusterPool< /** * Constructs a new poolifier fixed cluster pool. * - * @param numWorkers Number of workers for this pool. + * @param numberOfWorkers Number of workers for this pool. * @param filePath Path to an implementation of a `ClusterWorker` file, which can be relative or absolute. * @param opts Options for this fixed cluster pool. Default: `{ maxTasks: 1000 }` */ public constructor ( - numWorkers: number, + numberOfWorkers: number, filePath: string, public readonly opts: ClusterPoolOptions = { maxTasks: 1000 } ) { - super(numWorkers, filePath, opts) + super(numberOfWorkers, filePath, opts) } protected setupHook (): void {