Pass through kwargs

order_mode_finesse
Tyler Goodlet 2021-04-10 12:15:05 -04:00
parent 9622254cdb
commit 7f580ad356
1 changed files with 4 additions and 1 deletions

View File

@ -193,6 +193,8 @@ async def maybe_spawn_brokerd(
# XXX: you should pretty much never want debug mode # XXX: you should pretty much never want debug mode
# for data daemons when running in production. # for data daemons when running in production.
debug_mode: bool = True, debug_mode: bool = True,
**kwargs,
) -> tractor._portal.Portal: ) -> tractor._portal.Portal:
"""If no ``brokerd.{brokername}`` daemon-actor can be found, """If no ``brokerd.{brokername}`` daemon-actor can be found,
spawn one in a local subactor and return a portal to it. spawn one in a local subactor and return a portal to it.
@ -213,7 +215,8 @@ async def maybe_spawn_brokerd(
# pikerd is not live we now become the root of the # pikerd is not live we now become the root of the
# process tree # process tree
async with maybe_open_pikerd( async with maybe_open_pikerd(
loglevel=loglevel loglevel=loglevel,
**kwargs,
) as pikerd_portal: ) as pikerd_portal:
if pikerd_portal is None: if pikerd_portal is None: