소스 검색

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.

Adam Ierymenko 9 년 전
부모
커밋
0940d673db
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      node/Peer.cpp

+ 1 - 1
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