提交 f7d63095 编写于 作者: B Bomin Zhang

TD-1033: fix compile error

上级 4c8b5a87
......@@ -18,7 +18,7 @@
#include "taoserror.h"
#include "tglobal.h"
#include "tutil.h"
#include "ttime.h"
#include "osTime.h"
#include "tsocket.h"
#include "tbuffer.h"
#include "mnode.h"
......@@ -31,16 +31,9 @@
static sem_t tsExitSem;
static pthread_t tsTelemetryThread;
#if 1
#define TELEMETRY_SERVER "telemetry.taosdata.com"
#define TELEMETRY_PORT 80
#define REPORT_INTERVAL 86400
#else
#define TELEMETRY_SERVER "localhost"
#define TELEMETRY_PORT 80
#define REPORT_INTERVAL 5
#endif
#define TELEMETRY_SERVER "telemetry.taosdata.com"
#define TELEMETRY_PORT 80
#define REPORT_INTERVAL 86400
static void beginObject(SBufferWriter* bw) {
tbufWriteChar(bw, '{');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册