Skip to content
  • Felix Lange's avatar
    dd54fef8
    p2p/discover: don't attempt to replace nodes that are being replaced · dd54fef8
    Felix Lange authored
    PR #1621 changed Table locking so the mutex is not held while a
    contested node is being pinged. If multiple nodes ping the local node
    during this time window, multiple ping packets will be sent to the
    contested node. The changes in this commit prevent multiple packets by
    tracking whether the node is being replaced.
    dd54fef8
    p2p/discover: don't attempt to replace nodes that are being replaced
    Felix Lange authored
    PR #1621 changed Table locking so the mutex is not held while a
    contested node is being pinged. If multiple nodes ping the local node
    during this time window, multiple ping packets will be sent to the
    contested node. The changes in this commit prevent multiple packets by
    tracking whether the node is being replaced.
Loading