set default timeouts and clean up

This commit is contained in:
Roman Perekhod
2025-05-27 13:02:34 +02:00
parent e1325ca40f
commit d31ca63af1
40 changed files with 75 additions and 70 deletions

View File

@@ -87,7 +87,7 @@ func Server(cfg *config.Config) *cli.Command {
grpc.TraceProvider(traceProvider),
)
gr.Add(runner.NewGoMicroGrpcServerRunner("eventhistory_grpc", service))
gr.Add(runner.NewGoMicroGrpcServerRunner(cfg.Service.Name+".grpc", service))
{
debugServer, err := debug.Server(
@@ -100,7 +100,7 @@ func Server(cfg *config.Config) *cli.Command {
return err
}
gr.Add(runner.NewGolangHttpServerRunner("eventhistory_debug", debugServer))
gr.Add(runner.NewGolangHttpServerRunner(cfg.Service.Name+".debug", debugServer))
}
grResults := gr.Run(ctx)