qvvr has bug

This commit is contained in:
lnk
2025-05-20 16:31:12 +08:00
parent 093e8e5dd6
commit 3ad2e7c590
12 changed files with 314 additions and 44 deletions

View File

@@ -71,6 +71,8 @@ extern "C" {
#define nullptr NULL
#endif
extern uint32_t g_mqproducer_blocked_times;
extern int INITFLAG;
extern std::string FRONT_INST;
@@ -528,6 +530,9 @@ void KafkaSendThread::run()
QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz").toAscii().data());
}
//清空计数器
g_mqproducer_blocked_times =0;
QThread::msleep(10); // 避免 CPU 空转lnk20250326
}