* NetDB: Increase min ff to 200

This commit is contained in:
zzz
2012-01-26 13:22:49 +00:00
parent adba42d114
commit 4120fc6f0b

View File

@ -26,7 +26,7 @@ class FloodfillMonitorJob extends JobImpl {
private static final int REQUEUE_DELAY = 60*60*1000;
private static final long MIN_UPTIME = 2*60*60*1000;
private static final long MIN_CHANGE_DELAY = 6*60*60*1000;
private static final int MIN_FF = 150;
private static final int MIN_FF = 200;
private static final int MAX_FF = 999999;
private static final String PROP_FLOODFILL_PARTICIPANT = "router.floodfillParticipant";
@ -34,10 +34,10 @@ class FloodfillMonitorJob extends JobImpl {
super(context);
_facade = facade;
_log = context.logManager().getLog(FloodfillMonitorJob.class);
_lastChanged = 0;
}
public String getName() { return "Monitor the floodfill pool"; }
public void runJob() {
boolean wasFF = _facade.floodfillEnabled();
boolean ff = shouldBeFloodfill();