From 4aa24f8518ea6f6ac0a4b1ef60ac5ccb75311ecb Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 18 Apr 2024 15:18:29 -0400 Subject: [PATCH] TOSQUASH 77a15eb use `DebugStatus` in `._rpc` --- tractor/_rpc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tractor/_rpc.py b/tractor/_rpc.py index 86c3e27..576e988 100644 --- a/tractor/_rpc.py +++ b/tractor/_rpc.py @@ -814,7 +814,7 @@ async def process_messages( # should use it? # https://github.com/python-trio/trio/issues/467 log.runtime( - 'Entering IPC msg loop:\n' + 'Entering RPC msg loop:\n' f'peer: {chan.uid}\n' f'|_{chan}\n' ) @@ -876,7 +876,7 @@ async def process_messages( # XXX NOTE XXX don't start entire actor # runtime cancellation if this actor is # currently in debug mode! - pdb_complete: trio.Event|None = _debug.Lock.local_pdb_complete + pdb_complete: trio.Event|None = _debug.DebugStatus.repl_release if pdb_complete: await pdb_complete.wait() @@ -1073,7 +1073,7 @@ async def process_messages( log.exception(message) raise RuntimeError(message) - log.runtime( + log.transport( 'Waiting on next IPC msg from\n' f'peer: {chan.uid}\n' f'|_{chan}\n'