mirror of https://github.com/apache/activemq.git
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:
parent
c2123e3b1b
commit
9c2185b826
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue