Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Response
> implements IWorkerChoiceStrategy<Worker> {
/** {@inheritDoc} */
- public readonly isDynamicPool: boolean = this.pool.type === PoolType.DYNAMIC
+ public readonly isDynamicPool: boolean
/** {@inheritDoc} */
public requiredStatistics: RequiredStatistics = {
runTime: false
*/
public constructor (
protected readonly pool: IPoolInternal<Worker, Data, Response>
- ) {}
+ ) {
+ this.isDynamicPool = this.pool.type === PoolType.DYNAMIC
+ }
/** {@inheritDoc} */
public abstract reset (): boolean