fix: Prevent AWS_ERROR_MQTT_UNEXPECTED_HANGUP connection interruptions (#179)

By using a stable, unique per-process client identifier.

Also:

- Configured MQTT auto-reconnect on interruption
- Reset connection on high MQTT connection interruption rate
This commit is contained in:
Pascal Bourque
2025-11-08 15:12:30 -05:00
committed by GitHub
parent d007c2d745
commit 94acdede23
3 changed files with 75 additions and 7 deletions

View File

@@ -55,7 +55,8 @@
"amazon-cognito-identity-js": "6.3.15",
"aws-iot-device-sdk-v2": "1.22.0",
"dayjs": "1.11.18",
"lodash": "4.17.21"
"lodash": "4.17.21",
"nanoid": "5.1.6"
},
"devDependencies": {
"@eslint/js": "9.38.0",