Skip to content

Commit a9660af

Browse files
committed
Set default heartbeat request to zero.
1 parent 02973d4 commit a9660af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/rabbitmq/client/ConnectionParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private static String safeGetProperty(String key, String def) {
6363
public static final int DEFAULT_FRAME_MAX = 0;
6464

6565
/** Default value for desired heartbeat interval; zero for none */
66-
public static final int DEFAULT_HEARTBEAT = 3;
66+
public static final int DEFAULT_HEARTBEAT = 0;
6767

6868
private String _userName = DEFAULT_USER;
6969
private String _password = DEFAULT_PASS;

0 commit comments

Comments
 (0)