From 0bf265a96fb7ec83c2252d5b5c72aeb68f4cbf69 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 9 Aug 2020 00:02:04 -0400 Subject: [PATCH] Future todo --- piker/brokers/ib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/piker/brokers/ib.py b/piker/brokers/ib.py index 4e4aeb6c..75ace77a 100644 --- a/piker/brokers/ib.py +++ b/piker/brokers/ib.py @@ -284,6 +284,8 @@ async def _aio_get_client( try: ss = tractor.current_actor().statespace client_id = next(ss.setdefault('client_ids', itertools.count())) + # TODO: in case the arbiter has no record + # of existing brokerd we need to broadcase for one. except RuntimeError: # tractor likely isn't running client_id = 1