mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-01-07 20:26:58 +08:00
prome
This commit is contained in:
parent
355c672ed1
commit
9afaba4382
@ -37,7 +37,9 @@ var (
|
|||||||
func Init() {
|
func Init() {
|
||||||
cmdCh = make(chan Cmd2Value, 10000)
|
cmdCh = make(chan Cmd2Value, 10000)
|
||||||
w = new(sync.Mutex)
|
w = new(sync.Mutex)
|
||||||
initPrometheus()
|
if config.Config.Prometheus.Enable {
|
||||||
|
initPrometheus()
|
||||||
|
}
|
||||||
persistentCH.Init() // ws2mschat save mysql
|
persistentCH.Init() // ws2mschat save mysql
|
||||||
historyCH.Init(cmdCh) //
|
historyCH.Init(cmdCh) //
|
||||||
historyMongoCH.Init()
|
historyMongoCH.Init()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user