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
e8b7fbad0e
Repair missing sync_and_adjust call
2021-09-28 15:17:43 +02:00
Tony Garnock-Jones
23fa6629df
Cosmetic
2021-09-28 15:17:05 +02:00
Tony Garnock-Jones
013e99af70
Greatly improve service lifecycle handling
2021-09-28 12:53:18 +02:00
Tony Garnock-Jones
a263a7091d
Tweak debug outputs
2021-09-26 11:02:55 +02:00
Tony Garnock-Jones
d3d088418f
Dependency tracking, milestones
2021-09-24 16:15:26 +02:00
Tony Garnock-Jones
b81e936caf
Use `enclose!` macro
2021-09-23 21:46:10 +02:00
Tony Garnock-Jones
a92647b740
Signal running only once spawn has started
2021-09-20 23:32:53 +02:00
Tony Garnock-Jones
9f316ac659
Implement daemon service
2021-09-20 16:42:35 +02:00
Tony Garnock-Jones
988a22afde
Retrieve daemon config
2021-09-20 15:43:00 +02:00
Tony Garnock-Jones
9a09cac5f7
Use `during!` macro in services
2021-09-20 15:10:31 +02:00
Tony Garnock-Jones
d5b28097ef
Wildcard pattern generation; reactivate daemon stub
2021-09-20 14:35:29 +02:00
Tony Garnock-Jones
ccd54be3b2
Adapt to new Preserves major version; stub daemon basis
2021-09-19 16:53:37 +02:00
Tony Garnock-Jones
e90fe2c41e
Supervisor RestartPolicy
2021-09-01 17:31:01 +02:00
Tony Garnock-Jones
fb6070d1cd
Avoid spurious long-lived Account
2021-08-31 16:21:00 +02:00
Tony Garnock-Jones
2e232ca5b2
Structured pattern syntax (!)
2021-08-31 16:19:29 +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
Tony Garnock-Jones
ea66959cf4
Only insert/replace content for a file if it was able to be read successfully
2021-08-30 13:24:00 +02:00
Tony Garnock-Jones
9b7febb8d7
ConfigWatcher
2021-08-30 12:08:58 +02:00
Tony Garnock-Jones
18e77a87a5
Remove unneeded SERVICE_NAME constant in debt_reporter
2021-08-30 12:08:58 +02:00
Tony Garnock-Jones
29967d76a4
Use tracing's macros for debug/display
2021-08-30 12:08:58 +02:00
Tony Garnock-Jones
0f1432d414
Dynamic service instantiation
2021-08-28 18:50:55 +02:00
Tony Garnock-Jones
738ac3163a
spawn_link; reactive debt_reporter service startup
2021-08-28 14:39:00 +02:00
Tony Garnock-Jones
0eff672c30
Split out initial services in syndicate-server
2021-08-27 16:19:14 +02:00