diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2021-06-19 17:07:01 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-07-08 12:28:40 +0200 |
commit | b1d905c225e87a4a289c0cd3593c6c21cea3fba7 (patch) | |
tree | 1e351bba3f84d5ca0f8f795304da3a44fe29abb7 /src/test/util | |
parent | c9e8d8f9b168dec2bc7b845da38449e96708cf8e (diff) |
p2p: earlier continuation when no remaining eviction candidates
in ProtectEvictionCandidatesByRatio().
With this change, `if (n.count == 0) continue;` will be true
if a network had candidates protected in the first iterations
and has no candidates remaining to be protected in later iterations.
Co-authored-by: Jon Atack <jon@atack.com>
Diffstat (limited to 'src/test/util')
0 files changed, 0 insertions, 0 deletions