Add duration parsing for intervals

This commit is contained in:
Ian Fijolek
2021-05-10 21:39:52 -07:00
parent befea7375f
commit bdf7355fa7
4 changed files with 9 additions and 10 deletions
+1 -2
View File
@@ -120,7 +120,6 @@ func main() {
panic(err)
}
sleepTime := time.Duration(config.CheckInterval) * time.Second
time.Sleep(sleepTime)
time.Sleep(config.CheckInterval)
}
}