mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
MVP for #6097 This feature will repeatedly reconnect (with a randomized exponential backoff) to peers in a set of "peered" peers. In the future, this should be extended to: 1. Include a CLI for modifying this list at runtime. 2. Include additional options for peers we want to _protect_ but not connect to. 3. Allow configuring timeouts, backoff, etc. 4. Allow groups? Possibly through textile threads. 5. Allow for runtime-only peering rules. 6. Different reconnect policies. But this MVP should be a significant step forward.
7 lines
77 B
Go
7 lines
77 B
Go
package peering
|
|
|
|
import "testing"
|
|
|
|
func TestPeeringService(t *testing.T) {
|
|
}
|