Dusan Vojacek
b08782525e
fix(modbus): zadne vecne pending v journalu + flock timeout + EV poll backoff
Zivy incident home-01 (TeltoCharge .16): zapis 15/19-20 koncil failed
s prazdnym error_msg, nebo zustal trvale pending a zablokoval exportni ticky.
- _gateway_exclusive: neblokujici flock s deadline (EMS_MODBUS_FLOCK_TIMEOUT_S,
default 20 s) -> GatewayLockTimeout misto starvation bez limitu
- execute_modbus_commands: invariant written/failed + neprazdny error_msg
(str(e) or repr(e)); safety net pres BaseException (CancelledError, chyba DB);
journal update mimo retry cyklus zarizeni; force_disconnect bez zamku brany
- telemetry poll_ev_chargers: po 3 selhanich backoff 5 min per (host,port,unit)
- mrtvy unit_id drzi branu 4x8=32 s z kazde minuty
- testy backend/tests/test_modbus_execute_failsafe.py; docs
modbus-command-journal.md (sekce Robustnost zapisu + konfigurace)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-13 00:17:04 +02:00
..
2026-06-12 10:37:20 +02:00
2026-06-12 15:07:17 +02:00
2026-05-01 14:58:29 +02:00
2026-06-12 19:40:50 +02:00
2026-05-21 10:37:32 +02:00
2026-06-12 18:24:36 +02:00
2026-05-26 07:34:52 +02:00
2026-06-13 00:17:04 +02:00
2026-06-12 21:40:15 +02:00
2026-06-12 22:21:59 +02:00
2026-06-12 20:27:15 +02:00
2026-05-28 23:22:57 +02:00
2026-06-01 19:53:04 +02:00
2026-06-06 22:32:48 +02:00
2026-04-19 21:09:48 +02:00
2026-06-01 19:53:04 +02:00
2026-06-12 19:31:56 +02:00
2026-06-12 11:47:03 +02:00
2026-05-28 23:22:57 +02:00
2026-04-26 22:49:47 +02:00
2026-06-12 19:06:41 +02:00
2026-06-12 23:44:19 +02:00