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