X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fthread%2Fdynamic.ts;h=39867e6c0e72dd52a040705dbfe7cfb0182089de;hb=90bd5e4759bd31cc25b6f42e88d07ed05b969cec;hp=079782eef35211ca163f6484a09b75c4d6b6f484;hpb=cefac5ba30860fee4cc7feab628d54bdb7601e08;p=poolifier.git diff --git a/src/pools/thread/dynamic.ts b/src/pools/thread/dynamic.ts index 079782ee..39867e6c 100644 --- a/src/pools/thread/dynamic.ts +++ b/src/pools/thread/dynamic.ts @@ -25,16 +25,16 @@ export class DynamicThreadPool< * * @param min Minimum number of threads which are always active. * @param max Maximum number of threads that can be created by this pool. - * @param filename Path to an implementation of a `ThreadWorker` file, which can be relative or absolute. - * @param opts Options for this fixed thread pool. Default: `{ maxTasks: 1000 }` + * @param filePath Path to an implementation of a `ThreadWorker` file, which can be relative or absolute. + * @param opts Options for this dynamic thread pool. Default: `{ maxTasks: 1000 }` */ public constructor ( min: number, public readonly max: number, - filename: string, + filePath: string, opts: PoolOptions = { maxTasks: 1000 } ) { - super(min, filename, opts) + super(min, filePath, opts) } /**