Skip to content

Commit b957adf

Browse files
Merge pull request #143 from rabbitmq/rabbitmq-dotnet-client-142
modified heartbeat to 60 seconds
2 parents b12fb47 + 2302905 commit b957adf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/client/RabbitMQ.Client/src/client/api/ConnectionFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ public class ConnectionFactory : ConnectionFactoryBase, IConnectionFactory
112112
public const uint DefaultFrameMax = 0;
113113

114114
/// <summary>
115-
/// Default value for desired heartbeat interval, in seconds, with zero meaning none (value: 0).
115+
/// Default value for desired heartbeat interval, in seconds, with zero meaning none (value: 60).
116116
/// </summary>
117117
/// <remarks>PLEASE KEEP THIS MATCHING THE DOC ABOVE.</remarks>
118-
public const ushort DefaultHeartbeat = 0; //
118+
public const ushort DefaultHeartbeat = 60; //
119119

120120
/// <summary>
121121
/// Default password (value: "guest").

0 commit comments

Comments
 (0)