mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-25 05:29:20 +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 {
|
if val > 0 {
|
||||||
refreshTicker = time.NewTicker(time.Duration(val) * time.Second)
|
refreshTicker = time.NewTicker(time.Duration(val) * time.Minute)
|
||||||
refreshTick = refreshTicker.C
|
refreshTick = refreshTicker.C
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user