mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 01:40:46 +08:00
chore: 减少保全截图间隔
This commit is contained in:
@@ -62,8 +62,8 @@ bool asst::SSSBattleProcessTask::update_deployment_with_skip(const cv::Mat& reus
|
||||
[](const DeploymentOper& oper1, const DeploymentOper& oper2) { return oper1.name == oper2.name; })) {
|
||||
if (std::chrono::duration_cast<std::chrono::milliseconds>(now - last_same_time).count() > 30000) {
|
||||
// 30s 能回 60 费,基本上已经到了挂机的时候,放缓检查的速度
|
||||
Log.trace("30s is unchanged and the waiting time is extended to 5s");
|
||||
interval_time = 5000;
|
||||
Log.trace("30s is unchanged and the waiting time is extended to 1s");
|
||||
interval_time = 1000;
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user