koishi-plugin-best-cave 2.7.24 → 2.7.25
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
|
@@ -1155,7 +1155,7 @@ var AIManager = class {
|
|
|
1155
1155
|
if (cavesToAnalyze.length === 0) return "无需分析回声洞";
|
|
1156
1156
|
await session.send(`开始分析 ${cavesToAnalyze.length} 个回声洞...`);
|
|
1157
1157
|
let successCount = 0;
|
|
1158
|
-
const batchSize =
|
|
1158
|
+
const batchSize = 10;
|
|
1159
1159
|
for (let i = 0; i < cavesToAnalyze.length; i += batchSize) {
|
|
1160
1160
|
const batch = cavesToAnalyze.slice(i, i + batchSize);
|
|
1161
1161
|
this.logger.info(`[${i + 1}/${cavesToAnalyze.length}] 正在分析 ${batch.length} 条回声洞...`);
|