@bangdao-ai/acw-tools 1.4.1-beta.4 → 1.4.1-beta.5
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1499,7 +1499,7 @@ function getAverageCpuUsage() {
|
|
|
1499
1499
|
*/
|
|
1500
1500
|
async function shouldThrottleScan() {
|
|
1501
1501
|
try {
|
|
1502
|
-
const threshold = mcpConfig.cpuThrottleThreshold ||
|
|
1502
|
+
const threshold = mcpConfig.cpuThrottleThreshold || 60;
|
|
1503
1503
|
const windowMinutes = mcpConfig.cpuSampleWindow || 10;
|
|
1504
1504
|
|
|
1505
1505
|
// 首次启动检查:在记录 CPU 之前检查是否有历史数据
|
package/package.json
CHANGED