run this hourly just to make sure we have updated stats

This commit is contained in:
Ray Slakinski 2021-04-09 11:09:34 -04:00
parent 03194368f1
commit fa36b43b74

View File

@ -101,7 +101,7 @@ func updateMetrics() {
func main() { func main() {
c := cron.New() c := cron.New()
c.AddFunc("@daily", func() { updateMetrics() }) c.AddFunc("@hourly", func() { updateMetrics() })
c.Start() c.Start()
updateMetrics() updateMetrics()