Add fair sharing worker choice strategy
[poolifier.git] / src / pools / selection-strategies / selection-strategies-types.ts
index 359cfb948c6334dc507a3d0894149790aef584f9..dd545d41f590acdeada321782ee23fc51606168f 100644 (file)
@@ -12,6 +12,10 @@ export const WorkerChoiceStrategies = Object.freeze({
    * Less recently used worker selection strategy.
    */
   LESS_RECENTLY_USED: 'LESS_RECENTLY_USED',
+  /**
+   * Fair share worker selection strategy.
+   */
+  FAIR_SHARE: 'FAIR_SHARE',
   /**
    * Weighted round robin worker selection strategy.
    */