Author: toad
Date: 2007-07-21 19:41:41 +0000 (Sat, 21 Jul 2007)
New Revision: 14249
Modified:
trunk/freenet/src/freenet/io/comm/MessageCore.java
Log:
Reduce the maximum unmatched message lifetime to 10 minutes; this should still
be plenty
Modified: trunk/freenet/src/freenet/io/comm/MessageCore.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/MessageCore.java 2007-07-21 19:33:09 UTC
(rev 14248)
+++ trunk/freenet/src/freenet/io/comm/MessageCore.java 2007-07-21 19:41:41 UTC
(rev 14249)
@@ -38,7 +38,7 @@
private final LinkedList _filters = new LinkedList();
private final LinkedList _unclaimed = new LinkedList();
private static final int MAX_UNMATCHED_FIFO_SIZE = 50000;
- private static final long MAX_UNCLAIMED_FIFO_ITEM_LIFETIME =
60*60*1000; // 1 hour
+ private static final long MAX_UNCLAIMED_FIFO_ITEM_LIFETIME =
10*60*1000; // 10 minutes; maybe this should be per message type??
// Every second, remove all timed out filters
private static final int FILTER_REMOVE_TIME = 1000;
private long startedTime;