From 6008497b89fdbb3053de6bd50baa0528ba1a0d77 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 18 Apr 2023 19:12:53 -0400 Subject: [PATCH] Use more "hierarchical" schema for fsp shm segment names --- piker/fsp/_api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/piker/fsp/_api.py b/piker/fsp/_api.py index 9654a2a1..8226d16b 100644 --- a/piker/fsp/_api.py +++ b/piker/fsp/_api.py @@ -179,8 +179,9 @@ def mk_fsp_shm_key( target: Fsp ) -> str: - uid = tractor.current_actor().uid - return f'{sym}.fsp.{target.name}.{".".join(uid)}' + actor_name, uuid = tractor.current_actor().uid + uuid_snip: str = uuid[:16] + return f'piker.{actor_name}[{uuid_snip}].{sym}.{target.name}' def maybe_mk_fsp_shm(