From 2b1fb90e03f329cf1fccb3bfbd4bde1ab05c269a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 25 Jun 2022 18:41:49 -0400 Subject: [PATCH] Add tractor breaker assert.. --- piker/brokers/ib/broker.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/piker/brokers/ib/broker.py b/piker/brokers/ib/broker.py index 3638d6d6..4cc20b63 100644 --- a/piker/brokers/ib/broker.py +++ b/piker/brokers/ib/broker.py @@ -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),