forked from goodboy/tractor
Drop high log level in ctx example
parent
5a83f373ef
commit
e6a520c944
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue