import { type PoolType, PoolTypes } from '../pool'
+import { checkDynamicPoolSize } from '../utils'
import { FixedThreadPool, type ThreadPoolOptions } from './fixed'
/**
opts: ThreadPoolOptions = {}
) {
super(min, filePath, opts)
- this.checkDynamicPoolSize(this.numberOfWorkers, this.max)
+ checkDynamicPoolSize(this.numberOfWorkers, this.max)
}
/** @inheritDoc */