Tony Garnock-Jones
4ea07cdd6b
Further simplify supervision protocols
2022-01-26 23:37:43 +01:00
Tony Garnock-Jones
1111776754
Eliminate need for awkward boot_fn transmission subprotocol
2022-01-26 22:30:47 +01:00
Tony Garnock-Jones
4dc613a091
Foundations for causal tracing
2022-01-19 14:40:50 +01:00
Tony Garnock-Jones
11894ecb70
Better tracing of supervisor activity
2022-01-15 23:23:18 +01:00
Tony Garnock-Jones
a6ea858f1c
Belt and suspenders
2022-01-09 21:01:55 +01:00
Tony Garnock-Jones
6f8fb014f2
Update daemon restart policy defaults to line up better with the new supervisor defaults
2022-01-07 22:05:12 +01:00
Tony Garnock-Jones
fce928b5b0
Warn on restart intensity excess
2022-01-07 17:16:20 +01:00
Tony Garnock-Jones
33a0a52d6b
Change SupervisorConfiguration default to RestartPolicy::Always
2022-01-07 17:16:05 +01:00
Tony Garnock-Jones
9af31cfaad
More debug output
2021-10-05 19:10:30 +02:00
Tony Garnock-Jones
de795219af
Fix up daemon retry logic. Also: named fields; better stop logic.
...
In particular:
1. The root facet is considered inert even if it has outbound
assertions. This is because the only outbound assertion it can have is
a half-link to a peer actor, which shouldn't prevent the actor from
terminating normally if the user-level "root" facet stops.
2. On stop_facet_and_continue, parent-facet continuations execute
inline rather than at commit time. This is so that a user-level "root"
facet can *replace* itself. Remains to be properly exercised/tested.
2021-09-28 17:10:36 +02:00
Tony Garnock-Jones
013e99af70
Greatly improve service lifecycle handling
2021-09-28 12:53:18 +02:00
Tony Garnock-Jones
5a8a508fdc
More general on_stop; the old behaviour is now at on_stop_notify
2021-09-24 16:14:55 +02:00
Tony Garnock-Jones
e90fe2c41e
Supervisor RestartPolicy
2021-09-01 17:31:01 +02:00
Tony Garnock-Jones
74ca267cef
Move prevent_inert_check to During facet, where it is more generally useful
2021-08-31 17:01:43 +02:00
Tony Garnock-Jones
d8c3e37d17
Supervision; delayed actions; better tracing (incl `M: Debug`); linked task release
2021-08-30 23:41:51 +02:00