Skip to content

Commit

Permalink
Refactor internal implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexliesenfeld committed Oct 16, 2023
1 parent f975165 commit 5ce5741
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions check.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ func (ck *defaultChecker) Start() {

// We run the initial check execution in a separate goroutine so that server startup is not blocked in case of
// a bad check that runs for a longer period of time.
// TODO: Make this configurable with a useful default
go ck.Check(context.Background())
go ck.Check(ctx)
}

ck.mtx.Unlock()
Expand Down

0 comments on commit 5ce5741

Please sign in to comment.