Mark MQTT auto-reconnect increment done

Landed in #1 but the checkbox was never ticked.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
zyberzeroandClaude Opus 5.5 committed 2026-11-03 19:04:42 +01:00
1 parent d910187c53
commit fcd8a1b2db
1 file changed
+1 -1
+1 -1
View File
@@ -179,7 +179,7 @@ Each type lives in `src/FrameProcessor/Domain/`. Tests in `tests/FrameProcessor.
- On reconnect, drain immediately.
- **Manual check:** stop broker, upload → 200 with `mqttPublished: false`; restart broker → `mosquitto_sub` sees the message within backoff window.
### [ ] 6.6 Reliable auto-reconnect (`SPEC.md` §5.2)
### [x] 6.6 Reliable auto-reconnect (`SPEC.md` §5.2)
- `MqttOptions`: `ReconnectBackoffSeconds`, `KeepAliveSeconds`, `ConnectTimeoutSeconds`; wire keep-alive + connect timeout into `BuildClientOptions()`.
- `DisconnectedAsync` handler logs the reason and signals a `_reconnect` channel; only `ExecuteAsync` calls `ConnectAsync`.
- Reconnect loop uses the backoff schedule (capped, reset on success) instead of the hardcoded 5 s poll; wakes the retry queue on success.