mirror of https://github.com/cppla/ServerStatus
not remove json file
parent
5afdb61e88
commit
6ee766df87
|
@ -318,7 +318,9 @@ void CMain::JSONUpdateThread(void *pUser)
|
||||||
fs_rename(aJSONFileTmp, pConfig->m_aJSONFile);
|
fs_rename(aJSONFileTmp, pConfig->m_aJSONFile);
|
||||||
thread_sleep(1000);
|
thread_sleep(1000);
|
||||||
}
|
}
|
||||||
fs_remove(pConfig->m_aJSONFile);
|
// support by: https://cpp.la. don't remove month traffic record
|
||||||
|
// it will cause quiescence
|
||||||
|
//fs_remove(pConfig->m_aJSONFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
int CMain::ReadConfig()
|
int CMain::ReadConfig()
|
||||||
|
|
Loading…
Reference in New Issue