batch push

This commit is contained in:
skiffer-git
2022-06-09 12:49:16 +08:00
parent 0babf89aa5
commit 9eb0dd5e70
4 changed files with 41 additions and 7 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ func (s *friendServer) Run() {
defer srv.GracefulStop()
//User friend related services register to etcd
pbFriend.RegisterFriendServer(srv, s)
rpcRegisterIP := ""
rpcRegisterIP := config.Config.RpcRegisterIP
if config.Config.RpcRegisterIP == "" {
rpcRegisterIP, err = utils.GetLocalIP()
if err != nil {