Skip to content

Commit

Permalink
less verbose peer stats
Browse files Browse the repository at this point in the history
  • Loading branch information
uprendis committed Oct 5, 2020
1 parent 2f6dda4 commit ded5d1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/dial.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const (
dialHistoryExpiration = inboundThrottleTime + 5*time.Second

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

// Endpoint resolution is throttled with bounded backoff.
initialResolveDelay = 60 * time.Second
Expand Down

0 comments on commit ded5d1c

Please sign in to comment.