NetDB: Remove class M from auto-floodfill;

only 1% of floodfills are class M, and on average
they store 25% less leasesets than class N.
Reverts change to add M in 2015.
This commit is contained in:
zzz
2020-04-08 20:20:55 +00:00
parent 26b90b9d17
commit 370b7f1124

View File

@ -140,9 +140,8 @@ class FloodfillMonitorJob extends JobImpl {
if (ri == null) if (ri == null)
return false; return false;
char bw = ri.getBandwidthTier().charAt(0); char bw = ri.getBandwidthTier().charAt(0);
// Only if class M, N, O, P, X // Only if class N, O, P, X
if (bw != Router.CAPABILITY_BW64 && if (bw != Router.CAPABILITY_BW128 && bw != Router.CAPABILITY_BW256 &&
bw != Router.CAPABILITY_BW128 && bw != Router.CAPABILITY_BW256 &&
bw != Router.CAPABILITY_BW512 && bw != Router.CAPABILITY_BW_UNLIMITED) bw != Router.CAPABILITY_BW512 && bw != Router.CAPABILITY_BW_UNLIMITED)
return false; return false;