mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-28 10:09:54 +08:00
增加链路追踪配置,优化服务退出流程,gf版本升级到v2.4.2
This commit is contained in:
@@ -26,7 +26,7 @@ func (s *sTCPServer) Start(ctx context.Context) {
|
||||
g.Log().Debug(ctx, "TCPServer start..")
|
||||
|
||||
server, err := tcp.NewServer(&tcp.ServerConfig{
|
||||
Name: "hotgo",
|
||||
Name: simple.AppName(ctx),
|
||||
Addr: g.Cfg().MustGet(ctx, "tcp.server.address").String(),
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user