Validate every one hour
This commit is contained in:
parent
35b8a6cdd5
commit
185a4be239
@ -30,7 +30,7 @@ func (v *validator) stop() {
|
||||
}
|
||||
|
||||
func (v *validator) validate(products ...string) {
|
||||
v.ticker = time.NewTicker(24 * time.Hour)
|
||||
v.ticker = time.NewTicker(1 * time.Hour)
|
||||
v.done = make(chan bool)
|
||||
|
||||
go func() {
|
||||
|
Reference in New Issue
Block a user