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 hitchhooker committed Jun 5, 2024
1 parent 4e3f7b3 commit eff877f
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 eff877f

Please sign in to comment.