refactor(main): 调整批量使用的最大值和时间间隔
- 将批量使用的最大值从 99 调整为 50 - 将批量使用的时间间隔从 5000 毫秒调整为 3000 毫秒
This commit is contained in:
@@ -19558,7 +19558,7 @@ var app;
|
||||
n.writeInt(t), n.writeInt(num), i.writeToBytes(n), this.evKig(n);
|
||||
};
|
||||
const batchUse = (num) => {
|
||||
const batchMax = 99;
|
||||
const batchMax = 50;
|
||||
return (() => {
|
||||
send(Math.min(num, batchMax));
|
||||
num -= batchMax;
|
||||
@@ -19566,7 +19566,7 @@ var app;
|
||||
if (num > batchMax) {
|
||||
batchUse(num);
|
||||
}
|
||||
}, 5000);
|
||||
}, 3000);
|
||||
})();
|
||||
};
|
||||
batchUse(e);
|
||||
|
||||
Reference in New Issue
Block a user