X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpools%2Fcluster%2Fdynamic.ts;h=8b8c5185772dbea59bc0d22b2e1cb90b9383d507;hb=b8adcb2a14354be470de217472dc56247a99fe74;hp=513a73c5d7804cfa2e109a5d9cf6c01f4c060945;hpb=4f3c3d894171421375559b43ce469bd5ccb475da;p=poolifier.git diff --git a/src/pools/cluster/dynamic.ts b/src/pools/cluster/dynamic.ts index 513a73c5..8b8c5185 100644 --- a/src/pools/cluster/dynamic.ts +++ b/src/pools/cluster/dynamic.ts @@ -1,4 +1,3 @@ -import { EMPTY_OBJECT_LITERAL } from '../../utils' import { PoolType } from '../pool-internal' import type { ClusterPoolOptions } from './fixed' import { FixedClusterPool } from './fixed' @@ -30,7 +29,7 @@ export class DynamicClusterPool< min: number, protected readonly max: number, filePath: string, - opts: ClusterPoolOptions = EMPTY_OBJECT_LITERAL + opts: ClusterPoolOptions = {} ) { super(min, filePath, opts) }