Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable pollable jobs cleanup #471

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jobs/cloud_controller_clock/spec
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ properties:
cc.completed_tasks.cutoff_age_in_days:
description: "The age at which completed tasks are pruned from the Cloud Controller database"
default: 31
cc.pollable_jobs.cutoff_age_in_days:
description: "How old a pollable job should stay in cloud controller database before being cleaned up"
default: 90

cc.failed_jobs.max_number_of_failed_delayed_jobs:
description: "Maximum number of failed jobs that should stay in cloud controller database before being cleaned up"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ failed_jobs:
<% end %>
frequency_in_seconds: <%= p("cc.failed_jobs.frequency_in_seconds") %>

pollable_jobs:
cutoff_age_in_days: <%= p("cc.pollable_jobs.cutoff_age_in_days") %>

service_operations_initial_cleanup:
frequency_in_seconds: <%= p("cc.service_operations_initial_cleanup.frequency_in_seconds") %>

Expand Down