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