Skip to content

Commit

Permalink
chore: update pkg github.com/openimsdk/tools
Browse files Browse the repository at this point in the history
  • Loading branch information
withchao committed Oct 26, 2023
1 parent 1737186 commit f2a123e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/common/chatrpcstart/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func Start(rpcPort int, rpcRegisterName string, prometheusPort int, rpcFn func(c
if err != nil {
return errs.Wrap(err)
}
defer zkClient.CloseZK()
//defer zkClient.CloseZK()
zkClient.AddOption(chatMw.AddUserType(), mw.GrpcClient(), grpc.WithTransportCredentials(insecure.NewCredentials()))
registerIP, err := network.GetRpcRegisterIP(config.Config.Rpc.RegisterIP)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/common/config/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func InitConfig(configFile string) error {
if err != nil {
return utils.Wrap(err, "conn zk error ")
}
defer zk.CloseZK()
//defer zk.CloseZK()
var openIMConfigData []byte
for i := 0; i < 100; i++ {
var err error
Expand Down

0 comments on commit f2a123e

Please sign in to comment.