I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ca140559 authored by dg2-new's avatar dg2-new
Browse files

fix build

parent 8303016b
No related branches found
No related tags found
No related merge requests found
...@@ -162,7 +162,7 @@ class FloodfillMonitorJob extends JobImpl { ...@@ -162,7 +162,7 @@ class FloodfillMonitorJob extends JobImpl {
RateStat lagStat = getContext().statManager().getRate("jobQueue.jobLag"); RateStat lagStat = getContext().statManager().getRate("jobQueue.jobLag");
RateStat queueStat = getContext().statManager().getRate("router.tunnelBacklog"); RateStat queueStat = getContext().statManager().getRate("router.tunnelBacklog");
happy = happy && lagStat.getRate(60*60*1000L).getAvgOrLifetimeAvg() < 25; happy = happy && lagStat.getRate(60*60*1000L).getAvgOrLifetimeAvg() < 25;
happy = happy && getContext().tunnelManager().queueStat.getRate(60*60*1000L).getAvgOrLifetimeAvg() < 5; happy = happy && queueStat.getRate(60*60*1000L).getAvgOrLifetimeAvg() < 5;
happy = happy && getContext().tunnelManager().getInboundBuildQueueSize() < 5; happy = happy && getContext().tunnelManager().getInboundBuildQueueSize() < 5;
// Only if we're pretty well integrated... // Only if we're pretty well integrated...
happy = happy && _facade.getKnownRouters() >= 400; happy = happy && _facade.getKnownRouters() >= 400;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment