Make auto generated child names <parent_name>.<name>
parent
4cbb8641de
commit
74f460eba7
|
@ -38,7 +38,7 @@ async def open_actor_cluster(
|
||||||
uid = tractor.current_actor().uid
|
uid = tractor.current_actor().uid
|
||||||
|
|
||||||
async def _start(name: str) -> None:
|
async def _start(name: str) -> None:
|
||||||
name = f'{name}.{uid}'
|
name = f'{uid[0]}.{name}'
|
||||||
portals[name] = await an.start_actor(
|
portals[name] = await an.start_actor(
|
||||||
enable_modules=modules,
|
enable_modules=modules,
|
||||||
name=name,
|
name=name,
|
||||||
|
|
Loading…
Reference in New Issue