[hornetq-commits] JBoss hornetq SVN: r8001 - trunk/src/main/org/hornetq/core/client/impl.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Sep 28 12:24:46 EDT 2009


Author: timfox
Date: 2009-09-28 12:24:46 -0400 (Mon, 28 Sep 2009)
New Revision: 8001

Modified:
   trunk/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
Log:
reduced default ttl to 1 minute

Modified: trunk/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java
===================================================================
--- trunk/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java	2009-09-28 16:19:13 UTC (rev 8000)
+++ trunk/src/main/org/hornetq/core/client/impl/ClientSessionFactoryImpl.java	2009-09-28 16:24:46 UTC (rev 8001)
@@ -63,9 +63,8 @@
 
    public static final long DEFAULT_CLIENT_FAILURE_CHECK_PERIOD = 30000;
 
-   // 5 minutes - normally this should be much higher than ping period, this allows clients to re-attach on live
-   // or backup without fear of session having already been closed when connection having timed out.
-   public static final long DEFAULT_CONNECTION_TTL = 5 * 60 * 1000;
+   // 1 minute - this should be higher than ping period
+   public static final long DEFAULT_CONNECTION_TTL = 1 * 60 * 1000;
 
    // Any message beyond this size is considered a large message (to be sent in chunks)
    public static final int DEFAULT_MIN_LARGE_MESSAGE_SIZE = 100 * 1024;



More information about the hornetq-commits mailing list