Skip to content

Commit c84b339

Browse files
Merge pull request rabbitmq#110 from rabbitmq/rabbitmq-java-client-109
modified heartbeat to 60 seconds
2 parents 2b18b17 + cf5fbb5 commit c84b339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/rabbitmq/client/ConnectionFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ public class ConnectionFactory implements Cloneable {
6060
* zero means no limit */
6161
public static final int DEFAULT_FRAME_MAX = 0;
6262
/** Default heart-beat interval;
63-
* zero means no heart-beats */
64-
public static final int DEFAULT_HEARTBEAT = 0;
63+
* 60 seconds */
64+
public static final int DEFAULT_HEARTBEAT = 60;
6565
/** The default host */
6666
public static final String DEFAULT_HOST = "localhost";
6767
/** 'Use the default port' port */

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