chore: 减少保全截图间隔

This commit is contained in:
uye
2024-08-18 22:31:29 +08:00
parent 787409be23
commit e6edbefe6a

View File

@@ -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 {