._runtime: log level tweaks, use crit for stale debug lock detection

asyncio_debugger_support
Tyler Goodlet 2023-07-07 14:49:23 -04:00
parent 46972df041
commit 98a7326c85
1 changed files with 2 additions and 1 deletions

View File

@ -760,6 +760,7 @@ class Actor:
# deliver response to local caller/waiter
await self._push_result(chan, cid, msg)
log.runtime('Waiting on actor nursery to exit..')
await local_nursery.exited.wait()
if disconnected:
@ -814,7 +815,7 @@ class Actor:
db_cs
and not db_cs.cancel_called
):
log.warning(
log.critical(
f'STALE DEBUG LOCK DETECTED FOR {uid}'
)
# TODO: figure out why this breaks tests..