forked from goodboy/tractor
1
0
Fork 0

Support sync code breakpointing via built-in

Override `breakpoint()` for sync code making it work
properly with `trio` as per:

https://github.com/python-trio/trio/issues/1155#issuecomment-742964018

Relates to #193
msgspec_infect_asyncio
Tyler Goodlet 2021-02-15 19:23:53 -05:00
parent cb43c4c428
commit cbdf23ee6b
1 changed files with 0 additions and 2 deletions

View File

@ -73,8 +73,6 @@ def _trio_main(
log.info(f"Started new trio process for {actor.uid}") log.info(f"Started new trio process for {actor.uid}")
log.info(f"Started new trio process for {actor.uid}")
if actor.loglevel is not None: if actor.loglevel is not None:
log.info( log.info(
f"Setting loglevel for {actor.uid} to {actor.loglevel}") f"Setting loglevel for {actor.uid} to {actor.loglevel}")