X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpools%2Fabstract-pool.ts;h=43abfda76c5ed9d07e3ae98fdecb6e40b5f9b025;hb=9b2bdf941262ef1dd0d113330463b304cc56a189;hp=5d7e8cd82286749884ebdb726684e444bbd1c395;hpb=b4213b7fc45201c5a38f2615289c569b679a15b7;p=poolifier.git diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 5d7e8cd8..43abfda7 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -357,7 +357,9 @@ export abstract class AbstractPool< * * The pool filling boolean status. */ - protected abstract get full (): boolean + protected get full (): boolean { + return this.workerNodes.length >= this.maxSize + } /** * Whether the pool is busy or not.