From 09ae51900d7ade83a937057a842747bd61a6be9a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 4 Aug 2020 09:52:49 -0400 Subject: [PATCH] Better clarify uid comment --- tractor/_spawn.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tractor/_spawn.py b/tractor/_spawn.py index 02d14bc..b8620c2 100644 --- a/tractor/_spawn.py +++ b/tractor/_spawn.py @@ -166,8 +166,10 @@ async def spawn_subactor( # Hardcode this (instead of using ``_child.__name__`` to avoid a # double import warning: https://stackoverflow.com/a/45070583 "tractor._child", - # This is merely an identifier for debugging purposes when - # viewing the process tree from the OS + # We provide the child's unique identifier on this exec/spawn + # line for debugging purposes when viewing the process tree from + # the OS; it otherwise can be passed via the parent channel if + # we prefer in the future (for privacy). "--uid", str(subactor.uid), # Address the child must connect to on startup