Skip to content

Commit

Permalink
fix(cd-service): report ready on cleanup job
Browse files Browse the repository at this point in the history
Ref: SRX-IB4TJQ
  • Loading branch information
AminSlk committed Oct 7, 2024
1 parent df685a7 commit dbfa856
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/cd-service/pkg/cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ func RunServer() {
Shutdown: nil,
Name: "cache cleanup",
Run: func(ctx context.Context, reporter *setup.HealthReporter) error {
reporter.ReportReady("Cache cleanup started")
repository.RegularlyCleanupOverviewCache(ctx, repo, 3600, c.CacheTtlHours)
return nil
},
Expand Down

0 comments on commit dbfa856

Please sign in to comment.