From ca14055976f1edbedf24da2c62a5ccf7123d1ce6 Mon Sep 17 00:00:00 2001 From: dg2-new <dg2-new@mail.i2p> Date: Tue, 12 May 2015 19:02:00 +0000 Subject: [PATCH] fix build --- .../net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java b/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java index a8a3cbf054..7dc1b82666 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java @@ -162,7 +162,7 @@ class FloodfillMonitorJob extends JobImpl { RateStat lagStat = getContext().statManager().getRate("jobQueue.jobLag"); RateStat queueStat = getContext().statManager().getRate("router.tunnelBacklog"); 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; // Only if we're pretty well integrated... happy = happy && _facade.getKnownRouters() >= 400; -- GitLab