Skip to content

Commit

Permalink
feat: Using health context instead of background one
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed Jul 2, 2024
1 parent d6b1d06 commit 9523717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fibr/fibr.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func main() {
adapters, err := newAdapters(config, clients)
logger.FatalfOnErr(ctx, err, "adapters")

services, err := newServices(ctx, config, clients, adapters)
services, err := newServices(clients.health.EndCtx(), config, clients, adapters)
logger.FatalfOnErr(ctx, err, "services")

go services.Start(adapters, clients.health.DoneCtx(), clients.health.EndCtx())
Expand Down

0 comments on commit 9523717

Please sign in to comment.