Author: rmannibucau Date: Sun Jul 13 11:00:45 2014 New Revision: 1610165 URL: http://svn.apache.org/r1610165 Log: more timeout to not break too often old clients
Modified: tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/HttpConnectionFactory.java Modified: tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/HttpConnectionFactory.java URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/HttpConnectionFactory.java?rev=1610165&r1=1610164&r2=1610165&view=diff ============================================================================== --- tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/HttpConnectionFactory.java (original) +++ tomee/tomee/trunk/server/openejb-client/src/main/java/org/apache/openejb/client/HttpConnectionFactory.java Sun Jul 13 11:00:45 2014 @@ -64,7 +64,7 @@ public class HttpConnectionFactory imple if (params.containsKey("connectTimeout")) { timeout = Integer.parseInt(params.get("connectTimeout")); }else{ - timeout = 1000; + timeout = 10000; } httpURLConnection.setConnectTimeout(timeout);