From 0458c17a3d7258e1edd8b567b3b3802d89700550 Mon Sep 17 00:00:00 2001 From: Rodrigo Oliveri Date: Tue, 1 Oct 2024 17:26:22 -0300 Subject: [PATCH] remove the peers on 5 failures --- lib/lambda_ethereum_consensus/p2p/peerbook.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lambda_ethereum_consensus/p2p/peerbook.ex b/lib/lambda_ethereum_consensus/p2p/peerbook.ex index 62e579774..500a21e3d 100644 --- a/lib/lambda_ethereum_consensus/p2p/peerbook.ex +++ b/lib/lambda_ethereum_consensus/p2p/peerbook.ex @@ -7,7 +7,7 @@ defmodule LambdaEthereumConsensus.P2P.Peerbook do alias LambdaEthereumConsensus.Store.KvSchema @initial_score 100 - @penalize 5 + @penalize 20 @target_peers 128 @max_prune_size 8 @prune_percentage 0.05