Skip to content
Snippets Groups Projects
  1. Oct 25, 2022
  2. Sep 22, 2022
  3. Sep 21, 2022
  4. Sep 15, 2022
  5. Sep 13, 2022
  6. Jul 14, 2022
  7. Jul 05, 2022
  8. Jul 01, 2022
  9. May 31, 2022
    • Georgy Moshkin's avatar
      fix(discovery): fix hanging if some peers don't respond · 4d3116b0
      Georgy Moshkin authored
      Previously the discovery algorithm would try to reach each known peer
      sequentially requiring each consequent request to succeed until the next
      one can be attempted. This would not work in some cases (see test in
      previous commit).
      
      So the new algorithm instead makes a single attempt to reach each peer
      within a round, and if some failed they're retried in the next round of
      requests. This allows overall discovery to succeed in cases when some
      of the initial peers never respond.
      
      Closes #54
      4d3116b0
Loading