From b2e5e14bc634ea519edc1b479c55f27dcaba4187 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Sun, 26 Apr 2009 21:14:53 +0000 Subject: [PATCH] extend the min expiration a little --- .../networkdb/kademlia/KademliaNetworkDatabaseFacade.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/KademliaNetworkDatabaseFacade.java b/router/java/src/net/i2p/router/networkdb/kademlia/KademliaNetworkDatabaseFacade.java index b980170227..28a35862be 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/KademliaNetworkDatabaseFacade.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/KademliaNetworkDatabaseFacade.java @@ -121,7 +121,7 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade { private final static long ROUTER_INFO_EXPIRATION = 3*24*60*60*1000l; private final static long ROUTER_INFO_EXPIRATION_MIN = 3*60*60*1000l; private final static long ROUTER_INFO_EXPIRATION_SHORT = 90*60*1000l; - private final static long ROUTER_INFO_EXPIRATION_FLOODFILL = 45*60*1000l; + private final static long ROUTER_INFO_EXPIRATION_FLOODFILL = 60*60*1000l; private final static long EXPLORE_JOB_DELAY = 10*60*1000l; private final static long PUBLISH_JOB_DELAY = 5*60*1000l; @@ -572,7 +572,7 @@ public class KademliaNetworkDatabaseFacade extends NetworkDatabaseFacade { _log.error("LeaseSet to expire too far in the future: " + leaseSet.getDestination().calculateHash().toBase64() + " expires on " + new Date(leaseSet.getEarliestLeaseDate()), new Exception("Rejecting store")); - return "Expired leaseSet for " + leaseSet.getDestination().calculateHash().toBase64() + return "Future expiring leaseSet for " + leaseSet.getDestination().calculateHash().toBase64() + " expiring in " + DataHelper.formatDuration(age); } return null; -- GitLab