Add tractor breaker assert..

lifo_pps_ib
Tyler Goodlet 2022-06-25 18:41:49 -04:00
parent 695ba5288d
commit 2b1fb90e03
1 changed files with 8 additions and 0 deletions

View File

@ -454,6 +454,14 @@ async def trades_dialogue(
accounts = set()
clients: list[tuple[Client, trio.MemoryReceiveChannel]] = []
# TODO: this causes a massive tractor bug when you run marketstored
# with ``--tsdb``... you should get:
# - first error the assertion
# - chart should get that error and die
# - pikerd goes to debugger again from trio nursery multi-error
# - hitting final control-c to kill daemon will lead to hang
# assert 0
async with (
trio.open_nursery() as nurse,
open_client_proxies() as (proxies, aioclients),