mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
use minute interval
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user