Skip to content

Commit

Permalink
fix: constant 60000000000 overflows int
Browse files Browse the repository at this point in the history
  • Loading branch information
ssiyad committed Jun 4, 2021
1 parent f0eb8b3 commit 2ca633a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func main() {
if standalone {
for {
d(config)
time.Sleep(time.Duration(interval * int(time.Minute)))
time.Sleep(time.Duration(interval) * time.Minute)
}
} else {
d(config)
Expand Down

0 comments on commit 2ca633a

Please sign in to comment.