Add activity history clearing

This commit is contained in:
Mikei386
2026-06-14 22:17:54 +02:00
parent 5da077cdf7
commit 12bd339198
11 changed files with 62 additions and 9 deletions
+1
View File
@@ -166,6 +166,7 @@ func (s *Service) EnqueueRestore(task model.RestoreTask) (model.Run, error) {
}
func (s *Service) Cancel(runID string) bool { return s.queue.Cancel(runID) }
func (s *Service) ClearRunHistory() int { return s.queue.ClearHistory() }
func (s *Service) Snapshots(ctx context.Context, repoID string) ([]model.Snapshot, error) {
repo, ok := s.repository(repoID)