set default timeouts and clean up

This commit is contained in:
Roman Perekhod
2025-05-27 13:02:34 +02:00
committed by Jörn Friedrich Dreyer
parent 9a3fc08dd4
commit c597dfb917
40 changed files with 75 additions and 70 deletions

View File

@@ -64,7 +64,7 @@ func Server(cfg *config.Config) *cli.Command {
return err
}
gr.Add(runner.New("postprocessing_svc", func() error {
gr.Add(runner.New(cfg.Service.Name+".svc", func() error {
return svc.Run()
}, func() {
svc.Close()