main.go
@@ -42,7 +42,7 @@ return } cache.InitDbTablePersons() cache.InitCache() serveUrl := "tcp://0.0.0.0:" serveUrl = serveUrl + strconv.Itoa(config.MainConf.ServePort) @@ -50,7 +50,6 @@ logger.Infof("%s serve url:%s", procName, serveUrl) var ctx, cancel = context.WithCancel(context.Background()) serve.Start(ctx, serveUrl, config.MainConf.WorkerNum) quit := make(chan os.Signal)