From 9c6d444f3f1898c47c99fb30a5fd214d48dc2e25 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Tue, 7 Nov 2023 15:42:57 -0500 Subject: [PATCH] Router: Revise lookup throttle times --- .../net/i2p/router/networkdb/kademlia/LookupThrottler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/router/java/src/net/i2p/router/networkdb/kademlia/LookupThrottler.java b/router/java/src/net/i2p/router/networkdb/kademlia/LookupThrottler.java index 306a96a77a..9d43c78c78 100644 --- a/router/java/src/net/i2p/router/networkdb/kademlia/LookupThrottler.java +++ b/router/java/src/net/i2p/router/networkdb/kademlia/LookupThrottler.java @@ -23,8 +23,8 @@ class LookupThrottler { private final int MAX_LOOKUPS; // DEFAULT=20 private final long CLEAN_TIME; // DEFAULT=3*60*1000 LookupThrottler() { - MAX_LOOKUPS = 20; - CLEAN_TIME = 3*60*1000; + MAX_LOOKUPS = 14; + CLEAN_TIME = 2*60*1000; this.counter = new ObjectCounter(); SimpleTimer2.getInstance().addPeriodicEvent(new Cleaner(), CLEAN_TIME); }