[jboss-remoting-commits] JBoss Remoting SVN: r4226 - remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Thu May 22 01:34:55 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-05-22 01:34:55 -0400 (Thu, 22 May 2008)
New Revision: 4226

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
Log:
JBREM-982: Reset default onewayConnectionTimeout to 2000 ms.

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java	2008-05-22 05:26:18 UTC (rev 4225)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/transport/socket/MicroSocketClientInvoker.java	2008-05-22 05:34:55 UTC (rev 4226)
@@ -107,7 +107,7 @@
    public static final int MAX_POOL_SIZE = 50;
 
    /** Default timeout value used by OnewayConnectionTask.  Value is 2 seconds. */
-   public static final int ONEWAY_CONNECTION_TIMEOUT_DEFAULT = 5000;
+   public static final int ONEWAY_CONNECTION_TIMEOUT_DEFAULT = 2000;
 
    // Static ---------------------------------------------------------------------------------------
 
@@ -841,7 +841,7 @@
                }
 
                response = versionedRead(inputStream, unmarshaller, version);
-               }
+            }
 
             // Note that resetting the timeout value after closing the socket results
             // in an exception, so the reset is not done in a finally clause.  However,




More information about the jboss-remoting-commits mailing list