qvvr has bug
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user