Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
protected readonly pool: IPool<Worker, Data, Response>,
protected opts: InternalWorkerChoiceStrategyOptions
) {
- // this.setOptions(this.opts)
this.opts = buildInternalWorkerChoiceStrategyOptions(
this.pool.info.maxSize,
this.opts
/**
* Round weights.
*/
- private roundWeights!: number[]
+ private roundWeights: number[]
/**
* Worker node id.
*/