mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 09:01:08 +00:00
Add logic short-circuit to avoid unnecessary bond rebuild logic when appropriate
This commit is contained in:
parent
b6074da498
commit
0e23ba8f1a
@ -980,6 +980,10 @@ void Bond::curateBond(int64_t now, bool rebuildBond)
|
|||||||
dumpInfo(now, true);
|
dumpInfo(now, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (! _numAliveLinks && ! _numTotalLinks) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Curate the set of paths that are part of the bond proper. Select a set of paths
|
* Curate the set of paths that are part of the bond proper. Select a set of paths
|
||||||
* per logical link according to eligibility and user-specified constraints.
|
* per logical link according to eligibility and user-specified constraints.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user