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.
2 parents 94146fe + 8a9f559 commit 7891d02Copy full SHA for 7891d02
src/com/rabbitmq/client/ConnectionFactory.java
@@ -67,9 +67,8 @@ public class ConnectionFactory implements Cloneable {
67
public static final int DEFAULT_AMQP_PORT = AMQP.PROTOCOL.PORT;
68
/** The default ssl port */
69
public static final int DEFAULT_AMQP_OVER_SSL_PORT = 5671;
70
- /** The default TCP connection timeout;
71
- * zero means wait indefinitely */
72
- public static final int DEFAULT_CONNECTION_TIMEOUT = 0;
+ /** The default TCP connection timeout: 60 seconds */
+ public static final int DEFAULT_CONNECTION_TIMEOUT = 60000;
73
/**
74
* The default AMQP 0-9-1 connection handshake timeout. See DEFAULT_CONNECTION_TIMEOUT
75
* for TCP (socket) connection timeout.
0 commit comments