Exclude retry-never peers from quorum
Note: includes update to latest version of weaveworks/mesh library.
This commit is contained in:
1 parent
ad0a5477f9
commit
e6fd970920
1 file changed
+1
-1
+1
-1
@@ -433,7 +433,7 @@ func determineQuorum(initPeerCountFlag int, router *weave.NetworkRouter) uint {
|
|||||||
return uint(initPeerCountFlag/2 + 1)
|
return uint(initPeerCountFlag/2 + 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
peers := router.ConnectionMaker.Targets()
|
peers := router.ConnectionMaker.Targets(true)
|
||||||
|
|
||||||
// Guess a suitable quorum size based on the list of peer
|
// Guess a suitable quorum size based on the list of peer
|
||||||
// addresses. The peer list might or might not contain an
|
// addresses. The peer list might or might not contain an
|
||||||
|
|||||||
Reference in new issue
Block a user