From: Jérôme Benoit Date: Sun, 9 Apr 2023 11:41:28 +0000 (+0200) Subject: docs: enhance worker choice strategy option X-Git-Tag: v2.4.5~6 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=b062366507e4903e92e50d7cc83b7165f9dd1a41;p=poolifier.git docs: enhance worker choice strategy option Signed-off-by: Jérôme Benoit --- 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 }