Skip to content

Commit

Permalink
chore: remove redundant cast in MqttClientConfigBuilder.LimitUnacknow…
Browse files Browse the repository at this point in the history
…ledgedPublications
  • Loading branch information
BEagle1984 committed May 9, 2023
1 parent 673124b commit a4198f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public IMqttClientConfigBuilder UseProxy(Action<MqttClientWebSocketProxyOptions>
/// <inheritdoc cref="IMqttClientConfigBuilder.LimitUnacknowledgedPublications" />
public IMqttClientConfigBuilder LimitUnacknowledgedPublications(ushort receiveMaximum)
{
_builder.WithReceiveMaximum((ushort)receiveMaximum);
_builder.WithReceiveMaximum(receiveMaximum);
return this;
}

Expand Down

0 comments on commit a4198f3

Please sign in to comment.