Browse Source

Add comments.

release/3.x.x
Christian Kratky 5 years ago
parent
commit
e4e46f0094
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Source/MQTTnet/Client/MqttClient.cs

+ 1
- 0
Source/MQTTnet/Client/MqttClient.cs View File

@@ -362,6 +362,7 @@ namespace MQTTnet.Client

while (!cancellationToken.IsCancellationRequested)
{
// Values described here: [MQTT-3.1.2-24].
var keepAliveSendInterval = TimeSpan.FromSeconds(Options.KeepAlivePeriod.TotalSeconds * 0.75);
if (Options.KeepAliveSendInterval.HasValue)
{


Loading…
Cancel
Save