10000 Merge branch 'stable' · panchenko/rabbitmq-java-client@7891d02 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7891d02

Browse files
Merge branch 'stable'
2 parents 94146fe + 8a9f559 commit 7891d02

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@ public class ConnectionFactory implements Cloneable {
6767
public static final int DEFAULT_AMQP_PORT = AMQP.PROTOCOL.PORT;
6868
/** The default ssl port */
6969
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;
70+
/** The default TCP connection timeout: 60 seconds */
71+
public static final int DEFAULT_CONNECTION_TIMEOUT = 60000;
7372
/**
7473
* The default AMQP 0-9-1 connection handshake timeout. See DEFAULT_CONNECTION_TIMEOUT
7574
* for TCP (socket) connection timeout.

0 commit comments

Comments
 (0)
0