pull/351/head
wangchuxiao 2 years ago
parent 355c672ed1
commit 9afaba4382

@ -37,7 +37,9 @@ var (
func Init() {
cmdCh = make(chan Cmd2Value, 10000)
w = new(sync.Mutex)
initPrometheus()
if config.Config.Prometheus.Enable {
initPrometheus()
}
persistentCH.Init() // ws2mschat save mysql
historyCH.Init(cmdCh) //
historyMongoCH.Init()

Loading…
Cancel
Save