Don't double send `enable_modules` and `debug_mode` in kwargs..

This broke non-disti-mode actor tree spawn / runtime, seemingly because
the cli entrypoint for a `piker chart` also sends these values down
through the call stack independently? Pretty sure we don't need to send
the `enable_modules` from the chart actor anyway.
service_subpkg
Tyler Goodlet 2023-03-10 09:56:55 -05:00
parent 8ceaa27872
commit 12883c3c90
2 changed files with 0 additions and 5 deletions

View File

@ -174,7 +174,6 @@ async def open_pikerd(
# having the root have more then permissions to # having the root have more then permissions to
# spawn other specialized daemons I think? # spawn other specialized daemons I think?
enable_modules=_root_modules, enable_modules=_root_modules,
loglevel=loglevel, loglevel=loglevel,
debug_mode=debug_mode, debug_mode=debug_mode,
registry_addr=registry_addr, registry_addr=registry_addr,
@ -330,7 +329,6 @@ async def maybe_open_pikerd(
# configured address # configured address
async with open_pikerd( async with open_pikerd(
loglevel=loglevel, loglevel=loglevel,
debug_mode=kwargs.get('debug_mode', False),
registry_addr=registry_addr, registry_addr=registry_addr,
# ahabd (docker super) specific controls # ahabd (docker super) specific controls

View File

@ -181,9 +181,6 @@ def chart(
'debug_mode': pdb, 'debug_mode': pdb,
'loglevel': tractorloglevel, 'loglevel': tractorloglevel,
'name': 'chart', 'name': 'chart',
'enable_modules': [
'piker.clearing._client'
],
'registry_addr': config.get('registry_addr'), 'registry_addr': config.get('registry_addr'),
}, },
) )