radixdlt / olympia-node

Radix monorepo
Other
142 stars 35 forks source link

Try to connect to more than one known peer URI #654

Closed LukasGasior1 closed 2 years ago

LukasGasior1 commented 2 years ago

Previously, when the network layer attempted to initialize a peer connection, only a single URI was tried (even if more were known). This changes it so that up to 5 (const value) is tried. This will reduce the time needed to connect to a peer that has switched an IP address.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

80.0% 80.0% Coverage
0.0% 0.0% Duplication