Files
headmic/headmic.py
Alex 2bbbb6da2b Fix API hang — run gaze push in detached thread
Synchronous urllib.urlopen at 10Hz was starving uvicorn's event loop
via GIL contention. Now each push runs in its own daemon thread, and
skips if the previous push is still in flight (natural rate limiting).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 21:24:49 -05:00

30 KiB