From 52ad597c20fd264ee74ac8192da5f9ea2be739cb Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 9 Feb 2022 10:05:21 -0500 Subject: [PATCH] Drop high log level in ctx example --- examples/debugging/subactor_bp_in_ctx.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/debugging/subactor_bp_in_ctx.py b/examples/debugging/subactor_bp_in_ctx.py index 047338d..268b1d6 100644 --- a/examples/debugging/subactor_bp_in_ctx.py +++ b/examples/debugging/subactor_bp_in_ctx.py @@ -16,19 +16,21 @@ async def just_bp( await ctx.started('yo bpin here') await tractor.breakpoint() + # TODO: bps and errors in this call.. # async for val in gen(): # print(val) await trio.sleep(0.5) - # THIS CAUSES AN UNRECOVERABLE HANG!? + # THIS CAUSES AN UNRECOVERABLE HANG + # without latest ``pdbpp``: assert 0 async def main(): async with tractor.open_nursery( - loglevel='transport', + # loglevel='transport', debug_mode=True, ) as n: p = await n.start_actor(