koishi-plugin-best-cave 2.7.20 → 2.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1154,7 +1154,7 @@ var AIManager = class {
|
|
|
1154
1154
|
if (cavesToAnalyze.length === 0) return "无需分析回声洞";
|
|
1155
1155
|
await session.send(`开始分析 ${cavesToAnalyze.length} 个回声洞...`);
|
|
1156
1156
|
let successCount = 0;
|
|
1157
|
-
const batchSize =
|
|
1157
|
+
const batchSize = 25;
|
|
1158
1158
|
for (let i = 0; i < cavesToAnalyze.length; i += batchSize) {
|
|
1159
1159
|
const batch = cavesToAnalyze.slice(i, i + batchSize);
|
|
1160
1160
|
this.logger.info(`[${i + 1}/${cavesToAnalyze.length}] 正在分析 ${batch.length} 条回声洞...`);
|