forked from goodboy/tractor
1
0
Fork 0

Flip to trace logging

stin_char_relay
Tyler Goodlet 2020-07-24 15:17:41 -04:00
parent 7886a9fa64
commit eebd9bf05c
1 changed files with 3 additions and 3 deletions

View File

@ -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)