From 2f9b68a977660388375236dccc5eba3ae3b792be Mon Sep 17 00:00:00 2001 From: Hui Li Date: Mon, 12 Oct 2020 18:30:00 +0800 Subject: [PATCH] [TD-1625] --- src/dnode/src/dnodeTelemetry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dnode/src/dnodeTelemetry.c b/src/dnode/src/dnodeTelemetry.c index 306e9593e1..6999370591 100644 --- a/src/dnode/src/dnodeTelemetry.c +++ b/src/dnode/src/dnodeTelemetry.c @@ -41,7 +41,7 @@ static pthread_t tsTelemetryThread; #define TELEMETRY_SERVER "telemetry.taosdata.com" #define TELEMETRY_PORT 80 -#define REPORT_INTERVAL 100 // 86400 +#define REPORT_INTERVAL 86400 static void beginObject(SBufferWriter* bw) { tbufWriteChar(bw, '{'); @@ -244,7 +244,7 @@ static void sendTelemetryReport() { static void* telemetryThread(void* param) { struct timespec end = {0}; clock_gettime(CLOCK_REALTIME, &end); - end.tv_sec += 10; //300; // wait 5 minutes before send first report + end.tv_sec += 300; // wait 5 minutes before send first report while (1) { if (sem_timedwait(&tsExitSem, &end) == 0) { -- GitLab