0.2.76 - Icon Packs

This commit is contained in:
ponzischeme89
2026-08-18 14:59:29 +12:00
parent 36d171e51b
commit 8c847c59b8
70 changed files with 5267 additions and 673 deletions
+14
View File
@@ -77,6 +77,20 @@ func (s *Server) RegisterHousekeeping(sched *scheduler.Scheduler) {
},
})
sched.Register(scheduler.Task{
ID: "ingest-cleanup",
Name: "Import queue cleanup",
Group: "Housekeeping",
Description: fmt.Sprintf(
"Removes settled Sonarr and Radarr import records older than %d days. Work still waiting is never removed.",
int(store.IngestRetention/(24*time.Hour))),
Interval: 24 * time.Hour,
Run: func(ctx context.Context) (string, error) {
removed, err := s.store.PruneIngests(ctx, store.IngestRetention)
return countDetail(removed, "import record"), err
},
})
sched.Register(scheduler.Task{
ID: "task-history-cleanup",
Name: "Task history cleanup",