changed failed interval

This commit is contained in:
2022-08-16 23:14:54 +02:00
parent 809e3bd648
commit c67c71186f

View File

@@ -132,7 +132,7 @@ outerLoop:
stats, err := doPing(conf.Host, conf.PPP, time.Second)
if err != nil {
log.Warningf("ping to %s failed: %v", conf.Host, err)
time.Sleep(time.Duration(conf.Interval) * time.Minute)
time.Sleep(time.Duration(conf.Interval) * time.Second)
continue
}