NOISSUE - Update call-home (#3198)

Signed-off-by: dusan <borovcanindusan1@gmail.com>
This commit is contained in:
Dušan Borovčanin
2025-10-20 20:44:46 +02:00
committed by GitHub
parent c5eee6d8fd
commit 2adeecd9ec
3 changed files with 11 additions and 6 deletions
+1 -5
View File
@@ -169,6 +169,7 @@ func main() {
chc := chclient.New(svcName, supermq.Version, logger, cancel)
go chc.CallHome(ctx)
}
g.Go(func() error {
return gs.Start()
})
@@ -181,11 +182,6 @@ func main() {
}
hs := httpserver.NewServer(ctx, cancel, svcName, httpServerConfig, httpapi.MakeHandler(svc, logger, cfg.InstanceID), logger)
if cfg.SendTelemetry {
chc := chclient.New(svcName, supermq.Version, logger, cancel)
go chc.CallHome(ctx)
}
g.Go(func() error {
return hs.Start()
})