From 09c9445fa9d52c59af5eb06fb69ca1d92842d923 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 21 Oct 2022 17:25:35 +0200 Subject: [PATCH] Remove unneeded pool attribute MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/abstract-pool.ts | 3 --- src/pools/pool-internal.ts | 5 ----- 2 files changed, 8 deletions(-) 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. * -- 2.34.1