From 2e0d7a05a7dea5e6b1120d4cf5aa5726c5685c7f Mon Sep 17 00:00:00 2001 From: Elham Islam Date: Tue, 24 Sep 2024 09:37:13 -0700 Subject: [PATCH] remove unnecessary log --- synnax/pkg/service/framer/downsampler/downsampler.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/synnax/pkg/service/framer/downsampler/downsampler.go b/synnax/pkg/service/framer/downsampler/downsampler.go index 786b6c22f0..7b30f29d6a 100644 --- a/synnax/pkg/service/framer/downsampler/downsampler.go +++ b/synnax/pkg/service/framer/downsampler/downsampler.go @@ -11,7 +11,6 @@ package downsampler import ( "context" - "github.com/sirupsen/logrus" "github.com/synnaxlabs/synnax/pkg/distribution/framer" "github.com/synnaxlabs/x/address" "github.com/synnaxlabs/x/confluence" @@ -63,12 +62,10 @@ func downsampleSeries(series telem.Series, factor int) telem.Series { seriesLength := (len(series.Data) / factor) // / factor * int(series.DataType.Density()) downsampledData := make([]byte, 0, seriesLength) - for i := int64(0); i < series.Len(); i += int64(factor) { start := i * int64(series.DataType.Density()) end := start + int64(series.DataType.Density()) downsampledData = append(downsampledData, series.Data[start:end]...) - logrus.Info("i = ", i) //TODO: remove } downsampledSeries := telem.Series{