Rename StatsUpdateFrequency -> StatsUpdateInterval

This commit is contained in:
David Zhao
2022-04-19 22:22:58 -07:00
parent 8535f3d5b9
commit 431069af95
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func NewTelemetryService(notifier webhook.Notifier, analytics AnalyticsService)
}
func (t *telemetryService) run() {
ticker := time.NewTicker(config.StatsUpdateFrequency)
ticker := time.NewTicker(config.StatsUpdateInterval)
defer ticker.Stop()
for {
<-ticker.C