commit
1aec55be65
|
@ -77,7 +77,7 @@ int httpStartSystem() {
|
||||||
|
|
||||||
if (httpServer == NULL) {
|
if (httpServer == NULL) {
|
||||||
httpError("http server is null");
|
httpError("http server is null");
|
||||||
return -1;
|
httpInitSystem();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (httpServer->pContextPool == NULL) {
|
if (httpServer->pContextPool == NULL) {
|
||||||
|
|
|
@ -95,6 +95,9 @@ int monitorInitSystem() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int monitorStartSystem() {
|
int monitorStartSystem() {
|
||||||
|
if (monitor == NULL) {
|
||||||
|
monitorInitSystem();
|
||||||
|
}
|
||||||
taosTmrReset(monitorInitConn, 10, NULL, tscTmr, &monitor->initTimer);
|
taosTmrReset(monitorInitConn, 10, NULL, tscTmr, &monitor->initTimer);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,8 +33,8 @@
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Woverflow"
|
#pragma GCC diagnostic ignored "-Woverflow"
|
||||||
|
|
||||||
SModule tsModule[TSDB_MOD_MAX];
|
SModule tsModule[TSDB_MOD_MAX] = {0};
|
||||||
uint32_t tsModuleStatus;
|
uint32_t tsModuleStatus = 0;
|
||||||
pthread_mutex_t dmutex;
|
pthread_mutex_t dmutex;
|
||||||
extern int vnodeSelectReqNum;
|
extern int vnodeSelectReqNum;
|
||||||
extern int vnodeInsertReqNum;
|
extern int vnodeInsertReqNum;
|
||||||
|
|
Loading…
Reference in New Issue