mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
Added option for how many subscriptions to send in a single call to t… (#1209)
* Added option for how many subscriptions to send in a single call to the server. aws iotcore limits this to 8 * Split subscription messages up to 8 at a time when reconnecting
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using MQTTnet.Client.Options;
|
||||
using MQTTnet.Server;
|
||||
|
||||
@@ -17,5 +17,7 @@ namespace MQTTnet.Extensions.ManagedClient
|
||||
public int MaxPendingMessages { get; set; } = int.MaxValue;
|
||||
|
||||
public MqttPendingMessagesOverflowStrategy PendingMessagesOverflowStrategy { get; set; } = MqttPendingMessagesOverflowStrategy.DropNewMessage;
|
||||
|
||||
public int? MaxSubcribeUnsubscribeMessagesAtOnce { get; set; } = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user