}
/** @inheritDoc */
- public resetStatistics (): boolean {
- return this.workerChoiceStrategy.resetStatistics()
+ public reset (): boolean {
+ return this.workerChoiceStrategy.reset()
}
/** @inheritDoc */
return freeWorker
}
- if (this.pool.busy) {
+ if (this.pool.busy === true) {
return this.workerChoiceStrategy.choose()
}