mirror of
https://github.com//cppla/ServerStatus
synced 2025-09-22 18:02:21 +08:00
not remove json file
This commit is contained in:
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…
x
Reference in New Issue
Block a user