fix: update aggregator to run hourly
This commit is contained in:
parent
0c60bb544b
commit
ac48453a37
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue