From 98a7326c855a23f1b3bb8d8826b697202329ead1 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 7 Jul 2023 14:49:23 -0400 Subject: [PATCH] ._runtime: log level tweaks, use crit for stale debug lock detection --- tractor/_runtime.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tractor/_runtime.py b/tractor/_runtime.py index 268f059..244fffb 100644 --- a/tractor/_runtime.py +++ b/tractor/_runtime.py @@ -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..