fix: fix pool busyness semantic with task queueing enabled
[poolifier.git] / src / pools / worker.ts
index f1c29b3659a3c1c9da5569fe3f008fe70cfd78df..2da91457aed58994f01714a162adffba69ab61fe 100644 (file)
@@ -106,8 +106,8 @@ export interface TaskStatistics {
  * Enumeration of worker types.
  */
 export const WorkerTypes = Object.freeze({
-  cluster: 'cluster',
-  thread: 'thread'
+  thread: 'thread',
+  cluster: 'cluster'
 } as const)
 
 /**