From 6913dd1463fee703f8dcca6ab531bfc20b332d13 Mon Sep 17 00:00:00 2001 From: TJ Hoplock Date: Mon, 29 Jan 2024 09:12:59 -0500 Subject: [PATCH] chore: clean up todo comment There is debug logging of record counts right above this line, users can enable debug logging to see how many records are being processed and decide what actions to take with regards to filtering/api rate limiting. --- pkg/exporter/exporter.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/exporter/exporter.go b/pkg/exporter/exporter.go index d656d1f..5ba7265 100644 --- a/pkg/exporter/exporter.go +++ b/pkg/exporter/exporter.go @@ -158,7 +158,6 @@ func (w *Worker) RefreshQPSRecordData() { numRecords += len(z.Records) } level.Debug(w.logger).Log("msg", "updating worker qps cache", "zone_count", len(w.zoneCache), "record_count", fmt.Sprintf("%d", numRecords)) - // TODO: this may be a good place to log a warning if a user has a crap ton of records and we're worried about api calls or anything var cache []*ns1_internal.QPS