increased buffer size to 1024 (#5733)

pull/5718/head
isseysandei 2025-01-03 18:35:34 +01:00 zatwierdzone przez GitHub
rodzic e1aaafb77a
commit 66a961cb75
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -435,7 +435,7 @@ void MQTT::reconnect()
serverAddr = hostAndPort.first.c_str();
serverPort = hostAndPort.second;
pubSub.setServer(serverAddr, serverPort);
pubSub.setBufferSize(512);
pubSub.setBufferSize(1024);
LOG_INFO("Connect directly to MQTT server %s, port: %d, username: %s, password: %s", serverAddr, serverPort, mqttUsername,
mqttPassword);