Compare commits
No commits in common. "179a42ac7825071b6b3fd23ad57cf94b9910b4db" and "f8e05effbc4d28e11f91eaf88a0a56a7272de80b" have entirely different histories.
179a42ac78
...
f8e05effbc
|
@ -471,15 +471,11 @@ def search(
|
|||
|
||||
'''
|
||||
# global opts
|
||||
brokermods: list[ModuleType] = list(config['brokermods'].values())
|
||||
|
||||
# TODO: this is coming from the `search --pdb` NOT from
|
||||
# the `piker --pdb` XD ..
|
||||
# -[ ] pull from the parent click ctx's values..dumdum
|
||||
# assert pdb
|
||||
brokermods = list(config['brokermods'].values())
|
||||
|
||||
# define tractor entrypoint
|
||||
async def main(func):
|
||||
|
||||
async with maybe_open_pikerd(
|
||||
loglevel=config['loglevel'],
|
||||
debug_mode=pdb,
|
||||
|
|
|
@ -140,10 +140,11 @@ def pikerd(
|
|||
|
||||
if pdb:
|
||||
log.warning((
|
||||
'\n\n'
|
||||
'!!! YOU HAVE ENABLED DAEMON DEBUG MODE !!!\n'
|
||||
'When a `piker` daemon crashes it will block the '
|
||||
'task-thread until resumed from console!\n'
|
||||
"\n"
|
||||
"!!! YOU HAVE ENABLED DAEMON DEBUG MODE !!!\n"
|
||||
"When a `piker` daemon crashes it will block the "
|
||||
"task-thread until resumed from console!\n"
|
||||
"\n"
|
||||
))
|
||||
|
||||
# service-actor registry endpoint socket-address set
|
||||
|
@ -176,7 +177,7 @@ def pikerd(
|
|||
from .. import service
|
||||
|
||||
async def main():
|
||||
service_mngr: service.ServiceMngr
|
||||
service_mngr: service.Services
|
||||
|
||||
async with (
|
||||
service.open_pikerd(
|
||||
|
|
|
@ -119,10 +119,6 @@ async def open_piker_runtime(
|
|||
# spawn other specialized daemons I think?
|
||||
enable_modules=enable_modules,
|
||||
|
||||
# TODO: how to configure this?
|
||||
# keep it on by default if debug mode is set?
|
||||
maybe_enable_greenback=False,
|
||||
|
||||
**tractor_kwargs,
|
||||
) as actor,
|
||||
|
||||
|
|
Loading…
Reference in New Issue