mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 21:19:19 +00:00
use minute interval
This commit is contained in:
parent
286538c5d0
commit
0949ffc027
@ -121,7 +121,7 @@ func (h *Handler) startJobs() {
|
||||
}
|
||||
}
|
||||
if val > 0 {
|
||||
refreshTicker = time.NewTicker(time.Duration(val) * time.Second)
|
||||
refreshTicker = time.NewTicker(time.Duration(val) * time.Minute)
|
||||
refreshTick = refreshTicker.C
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user