Skip to content

Commit

Permalink
Merge pull request #7 from jzyong/develop
Browse files Browse the repository at this point in the history
feat: error
  • Loading branch information
jzyong authored Nov 2, 2024
2 parents 9551b9b + 16f44cf commit 082d11b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ugk-api/rpc/rpc_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ func (m *GRpcManager) Init() error {
log.Fatal("%v", err)
}
log.Info("grpc listen on:%v", config.BaseConfig.RpcUrl)
go server.Serve(listen)
go func() {
_ = server.Serve(listen)
}()
log.Info("GRpcManager:init end......")

return nil
Expand Down

0 comments on commit 082d11b

Please sign in to comment.