From 12674d966d081b8b869a1306898ae2f6ea33d024 Mon Sep 17 00:00:00 2001 From: terence tsao Date: Wed, 27 Mar 2024 19:01:37 -0700 Subject: [PATCH] Change goodbye message from rate limited peer to debug verbosity --- beacon-chain/sync/rpc_goodbye.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon-chain/sync/rpc_goodbye.go b/beacon-chain/sync/rpc_goodbye.go index a32e8c884ef7..4c27e0b55cf8 100644 --- a/beacon-chain/sync/rpc_goodbye.go +++ b/beacon-chain/sync/rpc_goodbye.go @@ -42,7 +42,7 @@ func (s *Service) goodbyeRPCHandler(_ context.Context, msg interface{}, stream l return fmt.Errorf("wrong message type for goodbye, got %T, wanted *uint64", msg) } if err := s.rateLimiter.validateRequest(stream, 1); err != nil { - log.WithError(err).Warn("Goodbye message from rate-limited peer.") + log.WithError(err).Debug("Goodbye message from rate-limited peer.") } else { s.rateLimiter.add(stream, 1) }