*/
public constructor (
min: number,
- public readonly max: number,
+ protected readonly max: number,
filePath: string,
opts: ClusterPoolOptions = {}
) {
return this.max
}
- /** @inheritDoc */
- protected get full (): boolean {
- return this.workerNodes.length >= this.max
- }
-
/** @inheritDoc */
protected get busy (): boolean {
return this.full && this.internalBusy()