mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 03:49:13 +03:00
Увеличиваем время между попытками установить соединение до брокера. На esp32 время ожидания доходило до 20 сек при таком же интервале переподключения.
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
#define NUM_BUTTONS 8
|
#define NUM_BUTTONS 8
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MQTT_RECONNECT_INTERVAL 20000
|
#define MQTT_RECONNECT_INTERVAL 60000
|
||||||
#define CHANGE_BROKER_AFTER 5
|
#define CHANGE_BROKER_AFTER 5
|
||||||
#define TELEMETRY_UPDATE_INTERVAL_MIN 60
|
#define TELEMETRY_UPDATE_INTERVAL_MIN 60
|
||||||
#define DEVICE_CONFIG_FILE "s.conf.csv"
|
#define DEVICE_CONFIG_FILE "s.conf.csv"
|
||||||
|
|||||||
Reference in New Issue
Block a user