Validate every one hour

This commit is contained in:
Kevin Cotugno 2017-10-05 23:17:09 -07:00
parent 35b8a6cdd5
commit 185a4be239

View File

@ -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() {