set default timeout value of 30s

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383832 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-03-07 09:54:09 +00:00
parent c2123e3b1b
commit 9c2185b826
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ import java.net.UnknownHostException;
public class TcpTransport extends TransportThreadSupport implements Transport, Service, Runnable {
private static final Log log = LogFactory.getLog(TcpTransport.class);
private int connectionTimeout = -1;
private int connectionTimeout = 30000;
private int soTimeout = 10000;
private int socketBufferSize = 64 * 1024;
private Socket socket;