From b062366507e4903e92e50d7cc83b7165f9dd1a41 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 9 Apr 2023 13:41:28 +0200 Subject: [PATCH] docs: enhance worker choice strategy option MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/selection-strategies/selection-strategies-types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pools/selection-strategies/selection-strategies-types.ts b/src/pools/selection-strategies/selection-strategies-types.ts index 0e1cf641..23dc5e8c 100644 --- a/src/pools/selection-strategies/selection-strategies-types.ts +++ b/src/pools/selection-strategies/selection-strategies-types.ts @@ -33,6 +33,9 @@ export type WorkerChoiceStrategy = keyof typeof WorkerChoiceStrategies * Worker choice strategy options. */ export interface WorkerChoiceStrategyOptions { + /** + * Use tasks median run time instead of average run time. + */ medRunTime?: boolean } -- 2.34.1