mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 02:20:43 +08:00
Avoid relying on a thread sleep to wait for the nodes to connect. Instead rely on the connection condition being established by using a polling loop. The loop is controlled by a number of iterations, panicking if the number of iterations is exceeded.