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