hp_chatbot/documentation
michael 5e41ae4326 Fix background GraphRAG init blocking Hypercorn event loop
Replace asyncio.ensure_future() with a daemon thread for GraphRAG
initialization. The Neo4j driver and NetworkX calls are synchronous
and were starving Hypercorn of CPU time on the shared event loop.
A separate thread with its own event loop isolates the blocking work
so the server accepts connections immediately after Phase 1 completes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-23 17:56:26 -06:00
..
graphrag-startup-optimization-guide.md Add GraphRAG startup optimization: triple caching and background init 2026-02-23 17:45:05 -06:00
post-deploy-fixes-background-init.md Fix background GraphRAG init blocking Hypercorn event loop 2026-02-23 17:56:26 -06:00