Remove bonds for peers that have fully expired. Remove notion of bond health
This commit is contained in:
parent
f8e24f4629
commit
8148c658cf
8 changed files with 57 additions and 88 deletions
|
@ -510,7 +510,6 @@ static void _peerToJson(nlohmann::json &pj,const ZT_Peer *peer)
|
|||
pj["isBonded"] = peer->isBonded;
|
||||
if (peer->isBonded) {
|
||||
pj["bondingPolicy"] = peer->bondingPolicy;
|
||||
pj["isHealthy"] = peer->isHealthy;
|
||||
pj["numAliveLinks"] = peer->numAliveLinks;
|
||||
pj["numTotalLinks"] = peer->numTotalLinks;
|
||||
}
|
||||
|
@ -542,7 +541,6 @@ static void _bondToJson(nlohmann::json &pj, SharedPtr<Bond> &bond)
|
|||
return;
|
||||
}
|
||||
|
||||
pj["isHealthy"] = bond->isHealthy();
|
||||
pj["numAliveLinks"] = bond->getNumAliveLinks();
|
||||
pj["numTotalLinks"] = bond->getNumTotalLinks();
|
||||
pj["failoverInterval"] = bond->getFailoverInterval();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue