Skip to content

Commit

Permalink
Demote per-peer validation slots warning to debug (paritytech#4480)
Browse files Browse the repository at this point in the history
Demote `Ignored block announcement because all validation slots for this
peer are occupied.` message to debug level.

This is mostly an indicator of somebody spamming the node or (more
likely) some node actively keeping up with the network but not
recognizing it's in a major sync mode, so sending zillions of block
announcements (have seen this on Versi).

This warning shouldn't be considered an error by the end user, so let's
make it debug.

Ref. paritytech#1929.
  • Loading branch information
dmitry-markin authored and TarekkMA committed Aug 2, 2024
1 parent 0fb23b0 commit 6b94167
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl<B: BlockT> BlockAnnounceValidator<B> {
return
},
AllocateSlotForBlockAnnounceValidation::MaximumPeerSlotsReached => {
warn!(
debug!(
target: LOG_TARGET,
"💔 Ignored block (#{} -- {}) announcement from {} because all validation slots for this peer are occupied.",
number,
Expand Down

0 comments on commit 6b94167

Please sign in to comment.