From 387f989c05520cf66241e0e45597796ab738ac9a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 3 Mar 2025 12:20:33 -0500 Subject: [PATCH] Go to loose egs in `Actor` root & service nurseries (for now..) --- tractor/_runtime.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tractor/_runtime.py b/tractor/_runtime.py index 15889a2..4c7ffbe 100644 --- a/tractor/_runtime.py +++ b/tractor/_runtime.py @@ -1725,11 +1725,15 @@ async def async_main( # parent is kept alive as a resilient service until # cancellation steps have (mostly) occurred in # a deterministic way. - async with trio.open_nursery() as root_nursery: + async with trio.open_nursery( + strict_exception_groups=False, + ) as root_nursery: actor._root_n = root_nursery assert actor._root_n - async with trio.open_nursery() as service_nursery: + async with trio.open_nursery( + strict_exception_groups=False, + ) as service_nursery: # This nursery is used to handle all inbound # connections to us such that if the TCP server # is killed, connections can continue to process