From b213a2766f62f2b1293d5fcf8262301d48956dcc Mon Sep 17 00:00:00 2001 From: tycho garen Date: Fri, 10 Jun 2022 07:31:48 -0400 Subject: [PATCH] reduce persistent peer max --- internal/p2p/peermanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/p2p/peermanager.go b/internal/p2p/peermanager.go index 3bf2db987..4c314858b 100644 --- a/internal/p2p/peermanager.go +++ b/internal/p2p/peermanager.go @@ -42,7 +42,7 @@ const ( type PeerScore int const ( - PeerScorePersistent PeerScore = math.MaxInt // persistent peers + PeerScorePersistent PeerScore = math.MaxInt16 // persistent peers MaxPeerScoreNotPersistent PeerScore = PeerScorePersistent - 1 )