We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ae54e commit f4f6021Copy full SHA for f4f6021
src/get/manager/DownloadManger.ts
@@ -16,7 +16,9 @@ export class DownloadManger {
16
constructor (requestConfig: GETRequestConfig, metadata: Metadata) {
17
this.requestConfig = requestConfig
18
this.metadata = metadata
19
- this.workers = requestConfig.inputs.map(
+ const inputs = this.requestConfig.inputs
20
+ const workerInputs = [...inputs, ...inputs]
21
+ this.workers = workerInputs.map(
22
(input) => new DownloadWorker(input, requestConfig)
23
)
24
requestConfig.logger.info(`Workers Count: ${this.workers.length}`)
0 commit comments