make nats killable

This commit is contained in:
Willy Kloucek
2022-03-04 13:46:02 +01:00
parent 3a60056bb3
commit 26852f1850
2 changed files with 14 additions and 3 deletions
+1
View File
@@ -36,6 +36,7 @@ func Server(cfg *config.Config) *cli.Command {
defer cancel()
natsServer, err := nats.NewNATSServer(
ctx,
nats.Host(cfg.Nats.Host),
nats.Port(cfg.Nats.Port),
nats.Logger(logging.NewLogWrapper(logger)),