Future todo

ib_backend
Tyler Goodlet 2020-08-09 00:02:04 -04:00
parent 482dc510fa
commit 0bf265a96f
1 changed files with 2 additions and 0 deletions

View File

@ -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