From 87ae907df1c87a5071231179c5c70914164be743 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Thu, 23 Mar 2023 12:33:25 +0800 Subject: [PATCH] ws update --- internal/msggateway/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/msggateway/init.go b/internal/msggateway/init.go index af17cff17..1e7f5d216 100644 --- a/internal/msggateway/init.go +++ b/internal/msggateway/init.go @@ -23,8 +23,8 @@ func RunWsAndServer(rpcPort, wsPort, prometheusPort int) error { return err } hubServer := NewServer(rpcPort, longServer) - longServer.SetMessageHandler(hubServer.Notification()) go hubServer.Start() + longServer.SetMessageHandler(hubServer.Notification()) go hubServer.LongConnServer.Run() wg.Wait() return nil