set default timeouts and clean up

This commit is contained in:
Roman Perekhod
2025-09-12 12:18:47 +02:00
committed by Jörn Friedrich Dreyer
parent 9a3fc08dd4
commit c597dfb917
40 changed files with 75 additions and 70 deletions
+2 -2
View File
@@ -79,7 +79,7 @@ func Server(cfg *config.Config) *cli.Command {
return err
}
gr.Add(runner.NewGolangHttpServerRunner("frontend_debug", debugServer))
gr.Add(runner.NewGolangHttpServerRunner(cfg.Service.Name+".debug", debugServer))
}
httpSvc := registry.BuildHTTPService(cfg.HTTP.Namespace+"."+cfg.Service.Name, cfg.HTTP.Addr, version.GetString())
@@ -88,7 +88,7 @@ func Server(cfg *config.Config) *cli.Command {
}
// add event handler
gr.Add(runner.New("frontend_event",
gr.Add(runner.New(cfg.Service.Name+".event",
func() error {
return ListenForEvents(ctx, cfg, logger)
}, func() {