aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 019d25a..adcd90a 100644
--- a/main.go
+++ b/main.go
@@ -177,7 +177,7 @@ func main() {
}
}()
- t := time.NewTimer(1 * time.Second)
+ t := time.NewTicker(1 * time.Second)
defer t.Stop()
prev := time.Now()