diff --git a/deploy_k8s/k8s_openim_deploy.md b/deploy_k8s/k8s_openim_deploy.md index c469648f7..17433e6ef 100644 --- a/deploy_k8s/k8s_openim_deploy.md +++ b/deploy_k8s/k8s_openim_deploy.md @@ -19,7 +19,7 @@ nodeSelector: ### 4. 修改ingress.yaml配置文件 ### 5. 执行./kubectl_start.sh脚本 -chmod +x ./kubectl_start.sh +chmod +x ./kubectl_start.sh ./kubectl_stop.sh ./kubectl_start.sh kubectl 启动所有deployment,services,ingress diff --git a/internal/rpc/msg/rpcChat.go b/internal/rpc/msg/rpcChat.go index 82c4ad37b..5baf7f13c 100644 --- a/internal/rpc/msg/rpcChat.go +++ b/internal/rpc/msg/rpcChat.go @@ -57,7 +57,7 @@ func (rpc *rpcChat) Run() { log.Error("", "", "register rpc get_token to etcd failed, err = %s", err.Error()) return } - + go rpc.runCh() err = srv.Serve(listener) if err != nil { log.Info("", "", "rpc get_token fail, err = %s", err.Error())