From: Jérôme Benoit Date: Fri, 21 Oct 2022 15:25:35 +0000 (+0200) Subject: Remove unneeded pool attribute X-Git-Tag: v2.3.6~27 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=09c9445fa9d52c59af5eb06fb69ca1d92842d923;p=poolifier.git Remove unneeded pool attribute Signed-off-by: Jérôme Benoit --- diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index abbf7638..c9b8c795 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -39,9 +39,6 @@ export abstract class AbstractPool< /** @inheritDoc */ public readonly emitter?: PoolEmitter - /** @inheritDoc */ - public readonly max?: number - /** * The promise map. * diff --git a/src/pools/pool-internal.ts b/src/pools/pool-internal.ts index 470ccdd5..d61b9c71 100644 --- a/src/pools/pool-internal.ts +++ b/src/pools/pool-internal.ts @@ -51,11 +51,6 @@ export interface IPoolInternal< */ readonly type: PoolType - /** - * Maximum number of workers that can be created by this pool. - */ - readonly max?: number - /** * Whether the pool is busy or not. *