Browse Source

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

james 1 year ago
parent
commit
5b83f5f29b
1 changed files with 1 additions and 1 deletions
  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")