X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fthread%2Ffixed.ts;h=bc665bf1a5f13e6c136a7281b96ffc465e470c03;hb=1b0aa06b3ab5cf8ae8bd135087143165889901cc;hp=a95a86034fcf13abc471862bbe9d51d8aa4604d1;hpb=afc003b20097712625ffd053e256ef5336e27b6e;p=poolifier.git diff --git a/src/pools/thread/fixed.ts b/src/pools/thread/fixed.ts index a95a8603..bc665bf1 100644 --- a/src/pools/thread/fixed.ts +++ b/src/pools/thread/fixed.ts @@ -98,7 +98,7 @@ export class FixedThreadPool< /** @inheritDoc */ public get full (): boolean { - return this.workers.length === this.numberOfWorkers + return this.workerNodes.length === this.numberOfWorkers } /** @inheritDoc */