slow down MQTT reconnect to 2 seconds

This commit is contained in:
proddy
2021-07-01 11:19:00 +02:00
parent 16b3cf764d
commit 0510189f54
2 changed files with 5 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
#include <uuid/common.h>
#define MQTT_RECONNECTION_DELAY 1000
#define MQTT_RECONNECTION_DELAY 2000 // 2 seconds
#define MQTT_SETTINGS_FILE "/config/mqttSettings.json"
#define MQTT_SETTINGS_SERVICE_PATH "/rest/mqttSettings"