Explorar el Código

优化环境系统超时看门狗频繁重启的问题

james hace 1 año
padre
commit
5b83f5f29b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      AGBoxDog/dogcore.cpp

+ 1 - 1
AGBoxDog/dogcore.cpp

@@ -163,7 +163,7 @@ void DogCore::time_out()
             }
         }
         if((agBoxShm->processStatus[5].t_time>0)
-                &&(static_cast<int>(chkTime1-agBoxShm->processStatus[5].t_time)>120)){
+                &&(static_cast<int>(chkTime1-agBoxShm->processStatus[5].t_time)>300)){
             if(system("killall agDP0005")!=-1){
                 if(system("/root/bin/agDP0005 &")!=-1){
                     logThread->appendData(QString("[%1 agBoxDog %2] agDP0005 time out: %3")