X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Ffixed.ts;h=2e89b3232dccbc321907b02a73b583d650ee1661;hb=ed6dd37f9e137cf659523d9d792f0171eedcb8ed;hp=092e97781911ec89ab1e16c5e2af0ca485fe1174;hpb=4f3c3d894171421375559b43ce469bd5ccb475da;p=poolifier.git diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index 092e9778..2e89b323 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -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) }