Since service daemon actors may be cancelled remotely by clients (who maybe also requested said daemon-actor's spawn in the first place) we specifically ignore `tractor.ContextCancelled`s from the `ctx.wait()` inside `Services.start_service_task()` to avoid crashing the service mngr, and thus for now `pikerd`, (which **does** happen now due to updated and more explicit remote cancellation semantics implemented in `tractor`) since the `.canceller` field is not going to match the `pikerd` uid in such cases! This explicit check makes sense since the `Services` mngr is built to allow remote requests to "spawn-n-supervise service actors" where the services can remain persistent but also cancelled later as requested. We may want to consider only allowing cancellation by actors who requested spawn in the future tho? Also change to more explicit imports to `tractor` types for annots throughout the sub-pkg. |
||
---|---|---|
.. | ||
__init__.py | ||
_actor_runtime.py | ||
_ahab.py | ||
_daemon.py | ||
_mngr.py | ||
_registry.py | ||
_util.py | ||
elastic.py | ||
marketstore.py |