Commit Graph

7 Commits

Author SHA1 Message Date
lukaszraczylo 085c2cb3d0 Move SDK processing to async queue. 2025-12-16 00:29:45 +00:00
lukaszraczylo c705449467 Fix the issue with hanging browser tab. 2025-12-15 14:09:38 +00:00
lukaszraczylo 268c286859 HTTP and SSE dead client fix
Fix 1: HTTP Server timeouts (service.go)
  - Added IdleTimeout: 120s - closes idle keep-alive connections
  - Added ReadTimeout: 30s - prevents hung connections waiting for request data

  Fix 2: SSE dead client cleanup (broadcaster.go) - This was the real leak
  - Bug: When Write() failed on a disconnected client, it just logged and continued - the dead client stayed in the clients map forever
  - Effect: Dead clients accumulated and every Broadcast() call would try (and fail) to write to them
  - Fix: Now tracks failed writes and removes dead clients from the map

  The SSE bug was likely the main cause. Every time a browser tab closed or connection dropped, the client stayed registered. On each broadcast (processing status updates happen frequently), it would try to write to dead connections, fail, but never clean up.
2025-12-15 13:17:46 +00:00
lukaszraczylo ca711a8a7e Fix autoupdate, add healtcheck status to the dashboard 2025-12-15 01:34:56 +00:00
lukaszraczylo bbd6c3f1ff Hotfix: Auto update capability. 2025-12-15 01:17:07 +00:00
lukaszraczylo 3a223da320 Release to the world. 2025-12-15 00:50:42 +00:00
lukaszraczylo feb7f251b4 Initial commit 2025-12-15 00:50:33 +00:00