Forever-Loops on asyncio.to_thread Starve LangGraph Sync Nodes
· 5 min read
LangGraph hands every plain def node under ainvoke to the event loop's default thread pool — the same one asyncio.to_thread borrows from. Fill that pool with loops that never return and sync nodes queue behind them silently, no error, no timeout.
