From 140175c06f55eb3de7e66ccfac0a3b177cc96679 Mon Sep 17 00:00:00 2001 From: sh7ning Date: Tue, 11 Dec 2018 13:09:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=9B=86=E7=BE=A4=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=A4=B1=E8=B4=A5=E6=83=85=E5=86=B5=E4=B8=8B=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=9A=84log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- connection/websocket/server.go | 1 + readme.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/connection/websocket/server.go b/connection/websocket/server.go index a612f8b..d440b70 100644 --- a/connection/websocket/server.go +++ b/connection/websocket/server.go @@ -219,6 +219,7 @@ func (s *Server) JoinCluster() { //notify router api server if _, err := s.rpc.Call("JoinCluster", s.config.NodeId); err != nil { log.Error("Gateway JoinCluster notification failed: %s", err.Error()) + return } log.Info("Gateway JoinCluster notification success") diff --git a/readme.md b/readme.md index 564c2ca..c798fe5 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ Gopusher 是一个支持分布式部署的通用长连接接入层服务,接管客户端连接。Gopusher Comet is a access layer service that handling all client persistent connections with distributed cluster deployment. -你可以很容易的使用 **http api** 来构建实时聊天,通知推送应用。You can use **http api** to develop a instant messaging application or a push notification application easily. +你可以很容易的使用 **http api** 来构建实时聊天,通知推送等应用。You can use **http api** to develop a instant messaging application or a push notification application easily. > demo: [https://chat.yadou.net](https://chat.yadou.net) >