X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Fdynamic.ts;h=ebff6bfe2fa2a1abbf104db0e0dee0ce2ca312c9;hb=fa6f12966fa14931864dcd13596e080d689464b3;hp=33c05a9220415fb43317bea9aa172b62d20207c7;hpb=91bfd799ee1722e0181fe158697523b575f28de3;p=poolifier.git diff --git a/src/pools/cluster/dynamic.ts b/src/pools/cluster/dynamic.ts index 33c05a92..ebff6bfe 100644 --- a/src/pools/cluster/dynamic.ts +++ b/src/pools/cluster/dynamic.ts @@ -23,7 +23,7 @@ export class DynamicClusterPool< * @param min Minimum number of workers which are always active. * @param max Maximum number of workers that can be created by this pool. * @param filePath Path to an implementation of a `ClusterWorker` file, which can be relative or absolute. - * @param opts Options for this dynamic cluster pool. Default: `{}` + * @param [opts={}] Options for this dynamic cluster pool. */ public constructor ( min: number, @@ -34,12 +34,12 @@ export class DynamicClusterPool< super(min, filePath, opts) } - /** @inheritdoc */ + /** @inheritDoc */ public get type (): PoolType { return PoolType.DYNAMIC } - /** @inheritdoc */ + /** @inheritDoc */ public get busy (): boolean { return this.workers.length === this.max }