Skip to content

Commit d5fa5d9

Browse files
committed
mqtt: PAHO buffer expansion
1 parent 53ad08d commit d5fa5d9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

mqtt_streaming_protocol/src/MqttAsyncClient.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ MqttAsyncClient::MqttAsyncClient(std::string serverUrl, std::string clientId, bo
3434
disconnOpts.context = this;
3535

3636
createOpts = MQTTAsync_createOptions_initializer;
37+
createOpts.maxBufferedMessages = 1000;
3738
}
3839

3940
MqttAsyncClient::~MqttAsyncClient()

0 commit comments

Comments
 (0)