import type { IWorker } from '../worker'
import type {
IWorkerChoiceStrategy,
+ StrategyPolicy,
TaskStatisticsRequirements,
WorkerChoiceStrategyOptions
} from './selection-strategies-types'
* Toggles finding the last free worker node key.
*/
private toggleFindLastFreeWorkerNodeKey: boolean = false
+
+ /** @inheritDoc */
+ public readonly strategyPolicy: StrategyPolicy = {
+ useDynamicWorker: false
+ }
+
/** @inheritDoc */
public readonly taskStatisticsRequirements: TaskStatisticsRequirements = {
runTime: {
/**
* Gets the worker task ELU.
- * If the task statistics require the ELU, the average ELU is returned.
- * If the task statistics require the ELU, the median ELU is returned.
+ * If the task statistics require the average ELU, the average ELU is returned.
+ * If the task statistics require the median ELU, the median ELU is returned.
*
* @param workerNodeKey - The worker node key.
* @returns The worker task ELU.