docs: enhance worker choice strategy option
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Apr 2023 11:41:28 +0000 (13:41 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Apr 2023 11:41:28 +0000 (13:41 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/selection-strategies/selection-strategies-types.ts

index 0e1cf64188ff7e4d1b2e026f9373bb7a57b9bf42..23dc5e8c9a4e744ed605beeaaca1b38b4e2d944d 100644 (file)
@@ -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
 }