You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per-thread _client cache (P0 prod bug, observed on ausdata-api):
module-global _client bound to the FIRST event loop and tripped RuntimeError: Event loop is closed when called from a multi-loop
host that wraps the MCP and runs asyncio.run(_get_data_impl(...))
in a worker thread per request. Cache moved to threading.local()
so each worker thread gets its own client bound to its own loop. reset_client_for_tests() now only clears the calling thread.