diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-11-11 14:36:22 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-11-11 14:36:22 -0800 |
commit | 0940d673db84794f6e94ecb976d27f6347e446f6 (patch) | |
tree | 0e0de20f9bd72201ffc4898115da66a03ad5b26e /node | |
parent | b94335f115fdf3801b1a423cfb063f8ba1b7e81a (diff) | |
download | infinitytier-0940d673db84794f6e94ecb976d27f6347e446f6.tar.gz infinitytier-0940d673db84794f6e94ecb976d27f6347e446f6.zip |
Always advertise to the cluster when we have a peer even if we have also initiated handoff. This might be the cause of the warmup problem -- will test later. At the very least it should not hurt anything due to pick-latest logic and the fact that cluster members with only suboptimal paths do not respond to WANT_PEER.
Diffstat (limited to 'node')
-rw-r--r-- | node/Peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp index d728cf4c..f0f43399 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -188,7 +188,7 @@ void Peer::received( } #ifdef ZT_ENABLE_CLUSTER - if ((RR->cluster)&&(!suboptimalPath)) + if (RR->cluster) RR->cluster->broadcastHavePeer(_id); #endif |