refactor: rename worker choice strategies to sensible names
[poolifier.git] / src / pools / selection-strategies / selection-strategies-types.ts
index ddfe915d2e3c215f9365693c81754155c2c10bc5..282e306db18a4c55bb1016e078ce8456ff64d843 100644 (file)
@@ -7,13 +7,13 @@ export const WorkerChoiceStrategies = Object.freeze({
    */
   ROUND_ROBIN: 'ROUND_ROBIN',
   /**
-   * Less used worker selection strategy.
+   * Least used worker selection strategy.
    */
-  LESS_USED: 'LESS_USED',
+  LEAST_USED: 'LEAST_USED',
   /**
-   * Less busy worker selection strategy.
+   * Least busy worker selection strategy.
    */
-  LESS_BUSY: 'LESS_BUSY',
+  LEAST_BUSY: 'LEAST_BUSY',
   /**
    * Fair share worker selection strategy.
    */