diff --git a/packages/backend/src/core/DownloadService.ts b/packages/backend/src/core/DownloadService.ts index d63310a045..b274807b8b 100644 --- a/packages/backend/src/core/DownloadService.ts +++ b/packages/backend/src/core/DownloadService.ts @@ -60,7 +60,7 @@ export class DownloadService { @bindThis public async fetchUrl(url: string): Promise { this.logger.info(`Downloading ${chalk.cyan(url)} ...`); - + const timeout = 30 * 1000; const operationTimeout = 60 * 1000; const maxSize = this.config.maxFileSize ?? 262144000; @@ -70,7 +70,7 @@ export class DownloadService { if (response.body === null) { throw new StatusError('No body', 400, 'No body'); } - + this.logger.succ(`Download finished: ${chalk.cyan(url)}`); return response as NonNullBodyResponse;