Commit 1f79d4a4 authored by meng.cheng's avatar meng.cheng

添加监控

parent 1525d70c
...@@ -84,7 +84,7 @@ func handlerKafkaMsg() { ...@@ -84,7 +84,7 @@ func handlerKafkaMsg() {
//TODO 可优化成Raft算法,目前是固定节点的 //TODO 可优化成Raft算法,目前是固定节点的
func isMaster() bool { func isMaster() bool {
//开发环境,但InfluxDb的Ip是生产环境ip的时候,不执行初始化操作 //开发环境,但InfluxDb的Ip是生产环境ip的时候,不执行初始化操作
if global.IsDev() && strings.Contains(global.InfluxDbAddress, "172.16") { if global.IsDev() && strings.Contains(global.InfluxDbAddress, "172.20") {
return false return false
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment