forked from goodboy/tractor
1
0
Fork 0

Drop high log level in ctx example

sigintsaviour_ci_worked
Tyler Goodlet 2022-02-09 10:05:21 -05:00
parent 5dd8adcfb8
commit 74819821a8
1 changed files with 4 additions and 2 deletions

View File

@ -16,19 +16,21 @@ async def just_bp(
await ctx.started('yo bpin here') await ctx.started('yo bpin here')
await tractor.breakpoint() await tractor.breakpoint()
# TODO: bps and errors in this call..
# async for val in gen(): # async for val in gen():
# print(val) # print(val)
await trio.sleep(0.5) await trio.sleep(0.5)
# THIS CAUSES AN UNRECOVERABLE HANG!? # THIS CAUSES AN UNRECOVERABLE HANG
# without latest ``pdbpp``:
assert 0 assert 0
async def main(): async def main():
async with tractor.open_nursery( async with tractor.open_nursery(
loglevel='transport', # loglevel='transport',
debug_mode=True, debug_mode=True,
) as n: ) as n:
p = await n.start_actor( p = await n.start_actor(