V20260105-2.3.4

进一步优化rpcFIns的boost模块性能(测试)。
对赢合取图丢弃的逻辑进行了更改。
This commit is contained in:
2026-01-05 01:05:56 +08:00
parent 3c5e6487f4
commit 95fd2cd89b
19 changed files with 1127 additions and 95 deletions
+3 -4
View File
@@ -32,20 +32,19 @@ triggerManager::triggerManager(ServiceManager* _serviceManager, bSignalHub* brid
void triggerManager::run(){
if(connectHost() == false)
return;
QThread::msleep(1000);
QThread::msleep(500);
QElapsedTimer heartTimer, loopCounterCollectTimer,loopIntervalTimer;
int loopCounter = 0,maxIntervalLog = 0,interval = 0;
loopIntervalTimer.start();
while (runFlag){
reciveCommond();
//心跳
if (heartTimer.elapsed()> heartBeatIntervalMS) {
if (heartTimer.elapsed()> heartBeatIntervalMS) {//心跳
sendFinsMsg(heartBeatCmds[heartBeatCmdCnt++]);
if(heartBeatCmdCnt >= heartBeatCmds.size())
heartBeatCmdCnt = 0;
heartTimer.start();
}
if (loopCounterCollectTimer.elapsed() > 3000) {
if (loopCounterCollectTimer.elapsed() > 3000) {//发送性能数据
emit bridge->sendTriggerManagerLoopData(loopCounter / 3, maxIntervalLog);
maxIntervalLog = 0;
loopCounter = 0;