From 72ca706f141e94a67f4b4012ab9dc0cdd92950bf Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Thu, 15 Aug 2024 20:04:29 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20=E6=9B=B4=E6=96=B0.giti?= =?UTF-8?q?gnore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index 792404c..bbc276d 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -937,7 +937,7 @@ export class tools extends plugin { proxyAddr: this.proxyAddr, proxyPort: this.proxyPort }, - numThread: this.videoDownloadConcurrency, + numThread: 1, }) e.reply(segment.image(xImgPath)); } @@ -1047,7 +1047,7 @@ export class tools extends plugin { img: item.urlDefault, dir: downloadPath, fileName: `${index}.png`, - numThread: this.videoDownloadConcurrency, + numThread: 1, })); } // 等待所有图片下载完成 @@ -1265,7 +1265,7 @@ export class tools extends plugin { headersExt: { "Referer": "http://blog.sina.com.cn/", }, - numThread: this.videoDownloadConcurrency, + numThread: 1, }).then(async (filePath) => { // 格式化为消息对象 return {