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

Autoremove jobs #36

Merged
merged 4 commits into from
Mar 30, 2015
Merged

Autoremove jobs #36

merged 4 commits into from
Mar 30, 2015

Conversation

zackgalbreath
Copy link
Contributor

Delete old rows from the client_* (CDash@Home) tables in accordance with our pre-project expiration setting.

Remove entries in the client_* tables that are older than our
per-project expiration timeframe.
Previous location didn't work because buildgroups have their own
autoremovetimeframe which defaults to 0.
Find & remove old client_jobs independently of their schedules.
This handles the case where a client_jobschedule is not deleted
because it will repeat again in the future.  In this case,
we should still delete the individual runs of this schedule that
are older than our autoremove threshold.
zackgalbreath added a commit that referenced this pull request Mar 30, 2015
@zackgalbreath zackgalbreath merged commit 2f35c8a into master Mar 30, 2015
@zackgalbreath zackgalbreath deleted the autoremove_jobs branch March 30, 2015 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant