fix: properly account worker choice retries for WRR
[poolifier.git] / src / pools / selection-strategies / selection-strategies-types.ts
index 59b6a84f90e29dbd05a08dec2020428b7e2fe436..1467ab4f566317742dca3f453d6cfedff860fa16 100644 (file)
@@ -95,7 +95,7 @@ export interface WorkerChoiceStrategyOptions {
    *
    * @defaultValue Weights computed automatically given the CPU performance.
    */
-  readonly weights?: Record<number, number>
+  weights?: Record<number, number>
 }
 
 /**