mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-11 20:45:57 +08:00
ws update
This commit is contained in:
@@ -24,6 +24,9 @@ func RunWsAndServer(rpcPort, wsPort, prometheusPort int) error {
|
||||
}
|
||||
hubServer := NewServer(rpcPort)
|
||||
go hubServer.Start()
|
||||
if hubServer.Notification() == nil {
|
||||
panic("notification is nil")
|
||||
}
|
||||
longServer.SetMessageHandler(hubServer.Notification())
|
||||
hubServer.SetLongConnServer(longServer)
|
||||
go hubServer.LongConnServer.Run()
|
||||
|
||||
Reference in New Issue
Block a user