Skip to content

p2p: exponential backoff for addrs we dial in ensurePeers #1125

@ebuchman

Description

@ebuchman

Currently we keep trying to connect to addrs from the book.

We should have some exponential backoff policy for addrs that we're failing to connect to in the address book so we dont see eg. E[01-20|05:34:50.115] Failed to dial peer module=p2p address=73.92.247.82:46656 err="Error creating peer: dial tcp 73.92.247.82:46656: getsockopt: connection refused" every 30s for every address we can dial

Metadata

Metadata

Assignees

Labels

C:p2pComponent: P2P pkg

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions