Codex
a9ba407ae2
PINK: fix reconcile 30s deadlock — async def + direct await
Root cause: _run() → pool.submit(asyncio.run, coro).result(30s) created a
new event loop in a thread-pool thread; aiohttp session is main-loop-bound
→ silent deadlock every step cycle. BingX VST is healthy (544ms gather).
Fix: async def reconcile() + await self.backend.refresh_state() in main loop.
pump_venue_events() already handles isawaitable → zero caller changes.
include_history=False (symbol=None skips history anyway).
Tests: 13/13 passing (async contract, 3 fault paths, <2s timing, gather-10).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 18:46:19 +02:00
..
2026-06-02 18:04:33 +02:00
2026-06-01 20:11:03 +02:00
2026-06-02 14:10:49 +02:00
2026-06-01 20:11:03 +02:00
2026-06-04 18:46:19 +02:00
2026-06-02 14:10:49 +02:00
2026-06-03 14:00:48 +02:00
2026-06-02 18:04:33 +02:00
2026-06-01 20:33:44 +02:00
2026-06-02 22:12:28 +02:00
2026-06-04 18:17:31 +02:00
2026-06-01 20:11:03 +02:00
2026-06-01 21:41:30 +02:00
2026-06-01 22:07:48 +02:00
2026-06-01 20:33:44 +02:00
2026-06-04 18:31:50 +02:00
2026-06-02 14:10:49 +02:00
2026-06-01 22:03:11 +02:00
2026-06-04 18:46:19 +02:00
2026-06-01 20:33:44 +02:00