mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-07-05 17:31:39 +02:00
34c60515ad
CRITICAL FIX: Messages stopped arriving after switching to persistent session. Root cause: meshcli in interactive mode (Popen stdin/stdout) doesn't receive messages automatically - requires explicit 'recv' command. Changes: - Add auto_recv_thread that calls 'recv' every 30 seconds in background - This ensures continuous message synchronization without breaking /cli - Messages are saved to .msgs file by meshcli as usual - Add TZ=Europe/Warsaw to both containers for correct timestamps in logs Technical details: - auto-recv runs in separate thread via command queue (no blocking) - First recv after 5s delay (let session initialize) - Uses execute_command() internally, so respects command serialization - Thread stops gracefully on shutdown_flag 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>