servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r597598 - /servicemix/trunk/deployables/bindingcomponents/servicemix-ftp/src/main/java/org/apache/servicemix/ftp/FTPClientPool.java
Date Fri, 23 Nov 2007 08:48:53 GMT
Author: gertv
Date: Fri Nov 23 00:48:52 2007
New Revision: 597598

URL: http://svn.apache.org/viewvc?rev=597598&view=rev
Log:
SM-915: FTP poller stalls with threads waiting on PlainSocketImpl.socketAccept()

Modified:
    servicemix/trunk/deployables/bindingcomponents/servicemix-ftp/src/main/java/org/apache/servicemix/ftp/FTPClientPool.java

Modified: servicemix/trunk/deployables/bindingcomponents/servicemix-ftp/src/main/java/org/apache/servicemix/ftp/FTPClientPool.java
URL: http://svn.apache.org/viewvc/servicemix/trunk/deployables/bindingcomponents/servicemix-ftp/src/main/java/org/apache/servicemix/ftp/FTPClientPool.java?rev=597598&r1=597597&r2=597598&view=diff
==============================================================================
--- servicemix/trunk/deployables/bindingcomponents/servicemix-ftp/src/main/java/org/apache/servicemix/ftp/FTPClientPool.java
(original)
+++ servicemix/trunk/deployables/bindingcomponents/servicemix-ftp/src/main/java/org/apache/servicemix/ftp/FTPClientPool.java
Fri Nov 23 00:48:52 2007
@@ -33,7 +33,7 @@
  */
 public class FTPClientPool extends SocketClientPoolSupport {
 
-    public static final int DEFAULT_DATA_TIMEOUT = -1;
+    public static final int DEFAULT_DATA_TIMEOUT = 120000; // two minutes
     public static final String DEFAULT_CONTROL_ENCODING = FTP.DEFAULT_CONTROL_ENCODING;
 
     private String username;



Mime
View raw message