-import { PoolType } from '../pool-internal'
+import { PoolType } from '../pool'
import type { ClusterPoolOptions } from './fixed'
import { FixedClusterPool } from './fixed'
}
/** @inheritDoc */
- public get full (): boolean {
- return this.workers.length === this.max
+ protected get full (): boolean {
+ return this.workerNodes.length === this.max
}
/** @inheritDoc */
- public get busy (): boolean {
- return this.full && this.findFreeWorkerKey() === -1
+ protected get busy (): boolean {
+ return this.full && this.internalBusy()
}
}