Wrap synchronous requests.get() and ipfs_client calls in asyncio.to_thread() to prevent blocking the FastAPI event loop. This fixes web UI slowness during publishing operations. - record_run: L1 fetches and IPFS operations now async - _register_asset_impl: IPFS pin now async - publish_cache: IPFS pin now async - get_anchor_tree: IPFS get_bytes now async - verify_activity_anchor: IPFS get_bytes now async Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
96 KiB
96 KiB