Author: toad
Date: 2007-12-03 21:37:47 +0000 (Mon, 03 Dec 2007)
New Revision: 16245

Modified:
   trunk/freenet/src/freenet/node/NodeStats.java
Log:
Make that 10 minutes

Modified: trunk/freenet/src/freenet/node/NodeStats.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeStats.java       2007-12-03 21:37:18 UTC 
(rev 16244)
+++ trunk/freenet/src/freenet/node/NodeStats.java       2007-12-03 21:37:47 UTC 
(rev 16245)
@@ -338,8 +338,8 @@
        /** Absolute limit of 4MB queued to any given peer. FIXME make this 
configurable. 
         * Note that for many MessageItem's, the actual memory usage will be 
significantly more than this figure. */
        private static final long MAX_PEER_QUEUE_BYTES = 4 * 1024 * 1024;
-       /** Don't accept requests if it'll take more than an hour to send the 
current message queue */
-       private static final double MAX_PEER_QUEUE_TIME = 60 * 60 * 1000.0;
+       /** Don't accept requests if it'll take more than 10 minutes to send 
the current message queue */
+       private static final double MAX_PEER_QUEUE_TIME = 10 * 60 * 1000.0;

        private long lastAcceptedRequest = -1;



Reply via email to