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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy