Browse Source

Add initial check for burstObserver

pull/3103/head
yuhan6665 9 months ago
parent
commit
601246468a
  1. 9
      app/observatory/burst/healthping.go

9
app/observatory/burst/healthping.go

@ -79,6 +79,15 @@ func (h *HealthPing) StartScheduler(selector func() ([]string, error)) {
tickerClose := make(chan struct{})
h.ticker = ticker
h.tickerClose = tickerClose
go func() {
tags, err := selector()
if err != nil {
newError("error select outbounds for initial health check: ", err).AtWarning().WriteToLog()
return
}
h.Check(tags)
}()
go func() {
for {
go func() {

Loading…
Cancel
Save