fix: brown paper bag bug referencing the same object literal
[poolifier.git] / src / pools / cluster / fixed.ts
index 092e97781911ec89ab1e16c5e2af0ca485fe1174..2e89b3232dccbc321907b02a73b583d650ee1661 100644 (file)
@@ -1,7 +1,6 @@
 import type { ClusterSettings, Worker } from 'cluster'
 import cluster from 'cluster'
 import type { MessageValue } from '../../utility-types'
-import { EMPTY_OBJECT_LITERAL } from '../../utils'
 import { AbstractPool } from '../abstract-pool'
 import type { PoolOptions } from '../pool'
 import { PoolType } from '../pool-internal'
@@ -51,7 +50,7 @@ export class FixedClusterPool<
   public constructor (
     numberOfWorkers: number,
     filePath: string,
-    public readonly opts: ClusterPoolOptions = EMPTY_OBJECT_LITERAL
+    public readonly opts: ClusterPoolOptions = {}
   ) {
     super(numberOfWorkers, filePath, opts)
   }