Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions app/observatory/burst/healthping.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,16 @@ func (h *HealthPing) StartScheduler(selector func() ([]string, error)) {
h.Check(tags)
}()

// init run to get a fast check result
go func() {
tags, err := selector()
if err != nil {
errors.LogWarning(h.ctx, "error select outbounds for initial health check: ", err)
return
}
h.Check(tags)
}()

go func() {
for {
go func() {
Expand Down
Loading