X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Ffixed.ts;h=d6481be720914c2af14c56bf0182030aa0a456da;hb=26ce26ca8861318068427cc86697103e7a3ddbf4;hp=46cabdcb75787700bab966bed3ce3312056659ad;hpb=55d7d6002049be09a06b08da26febe2e8bfa494b;p=poolifier.git diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index 46cabdcb..d6481be7 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -26,9 +26,10 @@ export class FixedClusterPool< public constructor ( numberOfWorkers: number, filePath: string, - protected readonly opts: PoolOptions = {} + opts: PoolOptions = {}, + maximumNumberOfWorkers?: number ) { - super(numberOfWorkers, filePath, opts) + super(numberOfWorkers, filePath, opts, maximumNumberOfWorkers) } /** @inheritDoc */