forked from goodboy/tractor
Flip to trace logging
parent
7886a9fa64
commit
eebd9bf05c
|
@ -17,12 +17,12 @@ async def main():
|
||||||
"""
|
"""
|
||||||
async with tractor.open_nursery() as n:
|
async with tractor.open_nursery() as n:
|
||||||
|
|
||||||
# portal = await n.run_in_actor('future_self', bubble)
|
portal = await n.run_in_actor('future_self', bubble)
|
||||||
portal = await n.run_in_actor('future_self', bail)
|
# portal = await n.run_in_actor('future_self', bail)
|
||||||
|
|
||||||
# The ``async with`` will unblock here since the 'some_linguist'
|
# The ``async with`` will unblock here since the 'some_linguist'
|
||||||
# actor has completed its main task ``cellar_door``.
|
# actor has completed its main task ``cellar_door``.
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
tractor.run(main, loglevel='info', debug_mode=True)
|
tractor.run(main, loglevel='trace', debug_mode=True)
|
||||||
|
|
Loading…
Reference in New Issue