Make auto generated child names <parent_name>.<name>

clusters_and_hot_tips
Tyler Goodlet 2021-11-02 15:40:15 -04:00
parent 4cbb8641de
commit 74f460eba7
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ async def open_actor_cluster(
uid = tractor.current_actor().uid
async def _start(name: str) -> None:
name = f'{name}.{uid}'
name = f'{uid[0]}.{name}'
portals[name] = await an.start_actor(
enable_modules=modules,
name=name,