Future todo
parent
a1e2730aa1
commit
75824f7afa
|
@ -284,6 +284,8 @@ async def _aio_get_client(
|
||||||
try:
|
try:
|
||||||
ss = tractor.current_actor().statespace
|
ss = tractor.current_actor().statespace
|
||||||
client_id = next(ss.setdefault('client_ids', itertools.count()))
|
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:
|
except RuntimeError:
|
||||||
# tractor likely isn't running
|
# tractor likely isn't running
|
||||||
client_id = 1
|
client_id = 1
|
||||||
|
|
Loading…
Reference in New Issue