use minute interval
This commit is contained in:
parent
286538c5d0
commit
0949ffc027
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue