|
@@ -62,7 +62,7 @@ void DogCore::time_out()
|
|
|
if((dataWriteShm->processStatus[1].t_time>0)
|
|
|
&&(static_cast<int>(chkTime1-dataWriteShm->processStatus[1].t_time)>120)){
|
|
|
if(system("killall ytDataWriteProcess")!=-1){
|
|
|
- sleep(1);
|
|
|
+ sleep(3);
|
|
|
if(system("/root/bin/ytDataWriteProcess &")!=-1){
|
|
|
logThread->appendData(QString("[%1 dataWriteDog %2] ytDataWriteProcess time out: %3")
|
|
|
.arg(QDateTime::fromTime_t(chkTime1).toString("yyyy-MM-dd HH:mm:ss"))
|