Sfoglia il codice sorgente

Z991239-6274 #comment feat: 调整查询时间间隔

Signed-Off-By: commit-hook
刘文涛80174520 4 mesi fa
parent
commit
7a68fa86fa
1 ha cambiato i file con 6 aggiunte e 6 eliminazioni
  1. 6 6
      Module/mod_UpgradeMgr/UpgradeTaskFSM.cpp

+ 6 - 6
Module/mod_UpgradeMgr/UpgradeTaskFSM.cpp

@@ -6270,10 +6270,10 @@ void CUpgradeTaskFSM::s1_on_entry()
 	m_queryIsWorkCount = 0;
 	if(isWork()&&((CUpgradeMgrEntity*)m_pEntity)->m_initSucc){
 		DbgWithLink(LOG_LEVEL_INFO,LOG_TYPE_SYSTEM)("====upgrade is start up ====");
-		ScheduleTimer(2,10*1000);//首次进入等待hash时间
+		ScheduleTimer(2,15*1000);//首次进入等待hash时间
 	}else{
-		DbgWithLink(LOG_LEVEL_DEBUG,LOG_TYPE_SYSTEM)("last upgrade progress is not end or is not initSucc,wait 10s ");
-		ScheduleTimer(1, 10*1000);//等待一段时间再判断是否进入首页
+		DbgWithLink(LOG_LEVEL_DEBUG,LOG_TYPE_SYSTEM)("last upgrade progress is not end or is not initSucc,wait 15s ");
+		ScheduleTimer(1, 15*1000);//等待一段时间再判断是否进入首页
 	}
 }
 
@@ -6292,10 +6292,10 @@ unsigned int CUpgradeTaskFSM::s1_on_event(FSMEvent* event)
 
 			if(isWork()&&((CUpgradeMgrEntity*)m_pEntity)->m_initSucc){
 				DbgWithLink(LOG_LEVEL_INFO,LOG_TYPE_SYSTEM)("====upgrade is start up ====");
-				ScheduleTimer(2,10*1000);//首次进入等待hash时间
+				ScheduleTimer(2,15*1000);//首次进入等待hash时间
 			}else{
-				DbgWithLink(LOG_LEVEL_DEBUG,LOG_TYPE_SYSTEM)("last upgrade progress is not end or is not initSucc,wait 10s ");
-				ScheduleTimer(1, 10*1000);//等待一段时间再判断是否进入首页
+				DbgWithLink(LOG_LEVEL_DEBUG,LOG_TYPE_SYSTEM)("last upgrade progress is not end or is not initSucc,wait 15s ");
+				ScheduleTimer(1, 15*1000);//等待一段时间再判断是否进入首页
 			}
 
 		}else if(event->param1 ==2){