This commit is contained in:
ponzischeme89
2026-08-11 23:41:10 +12:00
parent 0e183cf560
commit 5fed3360c2
42 changed files with 1340 additions and 130 deletions
+3
View File
@@ -190,6 +190,9 @@ func run(log *slog.Logger, events *logging.Buffer) error {
go server.WatchMaintenance(ctx, 30*time.Second)
// One probe per gateway, not per TV: the answer is the same for the whole house.
go server.WatchEmbyReachability(ctx, cfg.EmbyHealthInterval)
// One Sonarr catalogue reading per day records lifecycle changes for the household and
// materialises cancellation notifications for every known viewer.
go server.WatchSonarrLifecycle(ctx, 24*time.Hour)
if err := server.LoadUpdatePolicy(ctx); err != nil {
return err