Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
master
Marcus Noble 4 months ago
parent 2ffa757a67
commit de9d98c040
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
  1. 6
      main.go

@ -26,8 +26,10 @@ func main() {
flag.IntVar(&port, "port", 9091, "The port to listen on")
go (func() {
checkSpeed()
time.Sleep(time.Minute * time.Duration(interval))
for {
checkSpeed()
time.Sleep(time.Minute * time.Duration(interval))
}
})()
collector := newSpeedCollector()

Loading…
Cancel
Save