Changed from httpx.Client (sync) to httpx.AsyncClient so that asyncio.gather() actually executes HTTP calls in parallel instead of blocking the event loop sequentially. Before: ~5 min for 18 segments (serial HTTP calls despite gather) After: ~30 sec for 18 segments (truly parallel HTTP calls) Changes: - _http_client: httpx.Client -> httpx.AsyncClient - _call_cloud_run_probe: sync -> async - _call_cloud_run_endpoint: sync -> async - Added await to all Cloud Run HTTP calls 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __pycache__ | ||
| audit_logger.py | ||
| emailer.py | ||
| ffmpeg_http_service.py | ||
| gcs.py | ||
| gemini.py | ||
| gemini_tts.py | ||
| microsoft_auth.py | ||
| secrets_manager.py | ||
| tts.py | ||
| validation.py | ||
| video_renderer.py | ||
| vtt_retimer.py | ||
| websocket.py | ||
| websocket_publisher.py | ||
| whisper_http_service.py | ||
| whisper_service.py | ||