chore: code optimization

This commit is contained in:
kailixu 2023-07-24 09:03:19 +08:00
parent d597ba8e71
commit e566c051f7
2 changed files with 0 additions and 4 deletions

View File

@ -18,9 +18,6 @@
#include "os.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -32,7 +32,6 @@ static void *dmStatusThreadFp(void *param) {
if (pMgmt->pData->dropped || pMgmt->pData->stopped) break;
int64_t curTime = taosGetTimestampMs();
int64_t cost = 0;
float interval = (curTime - lastTime) / 1000.0f;
if (interval >= tsStatusInterval) {
dmSendStatusReq(pMgmt);