diff --git a/apps/agent/services/ratelimit/mitigate.go b/apps/agent/services/ratelimit/mitigate.go index b013d8cf17..92c463e279 100644 --- a/apps/agent/services/ratelimit/mitigate.go +++ b/apps/agent/services/ratelimit/mitigate.go @@ -63,7 +63,7 @@ func (s *service) broadcastMitigation(req mitigateWindowRequest) { if err != nil { s.logger.Err(err).Msg("failed to call mitigate") } else { - s.logger.Info().Str("peerId", peer.id).Msg("broadcasted mitigation") + s.logger.Debug().Str("peerId", peer.id).Msg("broadcasted mitigation") } } } diff --git a/apps/agent/services/ratelimit/ratelimit_replication_test.go b/apps/agent/services/ratelimit/ratelimit_replication_test.go index a3631c5f95..3ad69eacb2 100644 --- a/apps/agent/services/ratelimit/ratelimit_replication_test.go +++ b/apps/agent/services/ratelimit/ratelimit_replication_test.go @@ -137,7 +137,6 @@ func TestSync(t *testing.T) { require.True(t, ok) bucket.RLock() window := bucket.getCurrentWindow(now) - t.Logf("window on origin: %+v", window) counter := window.Counter bucket.RUnlock() diff --git a/apps/agent/services/ratelimit/ratelimit_test.go b/apps/agent/services/ratelimit/ratelimit_test.go index 1d2c7dcc92..3338aba0fc 100644 --- a/apps/agent/services/ratelimit/ratelimit_test.go +++ b/apps/agent/services/ratelimit/ratelimit_test.go @@ -94,7 +94,6 @@ func TestAccuracy_fixed_time(t *testing.T) { t.Run(fmt.Sprintf("limit:%d", limit), func(t *testing.T) { for _, duration := range []time.Duration{ - 1 * time.Second, 10 * time.Second, 1 * time.Minute, 5 * time.Minute,