Skip to content

Commit ded5d1c

Browse files
committed
less verbose peer stats
1 parent 2f6dda4 commit ded5d1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

p2p/dial.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const (
4040
dialHistoryExpiration = inboundThrottleTime + 5*time.Second
4141

4242
// Config for the "Looking for peers" message.
43-
dialStatsLogInterval = 10 * time.Second // printed at most this often
44-
dialStatsPeerLimit = 3 // but not if more than this many dialed peers
43+
dialStatsLogInterval = 120 * time.Second // printed at most this often
44+
dialStatsPeerLimit = 2 // but not if more than this many dialed peers
4545

4646
// Endpoint resolution is throttled with bounded backoff.
4747
initialResolveDelay = 60 * time.Second

0 commit comments

Comments
 (0)