Forum tinycontrol

Pełna wersja: MQTT and CPU on 100%
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Hello,
when I turn on sending to MQTT server, CPU go to 100% usage. Where is problem?
Check if your loop isn't publishing messages too fast without any delay or sleep, which often maxes out the CPU. Also, make sure you're using asynchronous publishing or a proper keep-alive setting so the MQTT client doesn't block the main thread