Remove unneeded pool attribute
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 21 Oct 2022 15:25:35 +0000 (17:25 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 21 Oct 2022 15:25:35 +0000 (17:25 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
src/pools/pool-internal.ts

index abbf7638c0b325fbd1534ec44a14eb5d6260d579..c9b8c795737a85338686df733c39397c39595201 100644 (file)
@@ -39,9 +39,6 @@ export abstract class AbstractPool<
   /** @inheritDoc */
   public readonly emitter?: PoolEmitter
 
-  /** @inheritDoc */
-  public readonly max?: number
-
   /**
    * The promise map.
    *
index 470ccdd5938e04ac8585ddc1fb6afc906919d02e..d61b9c715504d10fb88cc64d9d0d2ab709631ca2 100644 (file)
@@ -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.
    *