将接口调用改为线程执行,防止超时阻塞数据/状态控制线程
This commit is contained in:
@@ -473,6 +473,9 @@ void Front::FrontThread() {
|
||||
|
||||
check_recall_event(); // 处理补招事件,从list中读取然后直接调用接口,每一条可能都不同测点,每个测点自己做好记录
|
||||
check_recall_file(); //处理补招文件-稳态和暂态
|
||||
|
||||
// ★新增:异步处理 QVVR 接口任务
|
||||
process_qvvr_async_tasks();
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user