X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fworker.ts;h=2da91457aed58994f01714a162adffba69ab61fe;hb=3c5dc3fbade52c4f8e707279cd3089c57210e241;hp=f1c29b3659a3c1c9da5569fe3f008fe70cfd78df;hpb=3f09ed9f86ed44b7551d160452b80b978d14e8e3;p=poolifier.git diff --git a/src/pools/worker.ts b/src/pools/worker.ts index f1c29b36..2da91457 100644 --- a/src/pools/worker.ts +++ b/src/pools/worker.ts @@ -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) /**