We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c84b339 commit fadb746Copy full SHA for fadb746
src/com/rabbitmq/client/ConnectionFactory.java
@@ -70,9 +70,8 @@ public class ConnectionFactory implements Cloneable {
70
public static final int DEFAULT_AMQP_PORT = AMQP.PROTOCOL.PORT;
71
/** The default ssl port */
72
public static final int DEFAULT_AMQP_OVER_SSL_PORT = 5671;
73
- /** The default TCP connection timeout;
74
- * zero means wait indefinitely */
75
- public static final int DEFAULT_CONNECTION_TIMEOUT = 0;
+ /** The default TCP connection timeout: 60 seconds */
+ public static final int DEFAULT_CONNECTION_TIMEOUT = 60000;
76
/**
77
* The default AMQP 0-9-1 connection handshake timeout. See DEFAULT_CONNECTION_TIMEOUT
78
* for TCP (socket) connection timeout.
0 commit comments