- * Worker weights to use for weighted round robin worker selection strategy.
- * Weight is the tasks maximum average or median runtime in milliseconds.
+ * Worker weights to use for weighted round robin worker selection strategies.
+ * A weight is tasks maximum execution time in milliseconds for a worker node.
+ *
+ * @defaultValue Weights computed automatically given the CPU performance.
+ */
+ weights?: Record<number, number>
+}
+
+/**
+ * Worker choice strategy internal options.
+ *
+ * @internal
+ */
+export interface InternalWorkerChoiceStrategyOptions
+ extends WorkerChoiceStrategyOptions {
+ /**
+ * Number of worker choice retries to perform if no worker is eligible.