mirror of
https://github.com/logos-messaging/telemetry.git
synced 2026-01-02 14:13:05 +00:00
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…
x
Reference in New Issue
Block a user