forked from goodboy/tractor
1
0
Fork 0

Better clarify uid comment

ensure_deregister
Tyler Goodlet 2020-08-04 09:52:49 -04:00
parent 4f92cfe74f
commit 09ae51900d
1 changed files with 4 additions and 2 deletions

View File

@ -166,8 +166,10 @@ async def spawn_subactor(
# Hardcode this (instead of using ``_child.__name__`` to avoid a # Hardcode this (instead of using ``_child.__name__`` to avoid a
# double import warning: https://stackoverflow.com/a/45070583 # double import warning: https://stackoverflow.com/a/45070583
"tractor._child", "tractor._child",
# This is merely an identifier for debugging purposes when # We provide the child's unique identifier on this exec/spawn
# viewing the process tree from the OS # 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", "--uid",
str(subactor.uid), str(subactor.uid),
# Address the child must connect to on startup # Address the child must connect to on startup