Skip to content

Commit

Permalink
修复集群通知失败情况下错误的log
Browse files Browse the repository at this point in the history
  • Loading branch information
sh7ning committed Dec 11, 2018
1 parent ab9e7a5 commit 140175c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions connection/websocket/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
>
Expand Down

0 comments on commit 140175c

Please sign in to comment.