fix: update aggregator to run hourly

This commit is contained in:
Anthony Laibe 2021-11-08 12:23:46 +01:00
parent 0c60bb544b
commit ac48453a37
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func main() {
aggregator := telemetry.NewAggregator(db)
c := cron.New()
c.AddFunc("* * * * *", func() {
c.AddFunc("0 * * * *", func() {
aggregator.Run(time.Hour)
})
c.Start()