koinos / koinos-p2p

The p2p microservice orchestrates the distribution of blocks and transactions between peers.
MIT License
6 stars 4 forks source link

Error score reconnect threshold #244

Closed sgerbino closed 1 year ago

sgerbino commented 1 year ago

Resolves #243.

Brief description

An error score must decay to half the disconnect threshold before a reconnection attempt is made.

Checklist

Demonstration

=== RUN   TestErrorHandler
--- PASS: TestErrorHandler (3.50s)