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

Enhancement/#354 Cron task to prune MEDIA_ROOT files #752

Merged
merged 2 commits into from
Sep 30, 2016

Conversation

amplifi
Copy link
Contributor

@amplifi amplifi commented Sep 30, 2016

Proposed changes in this pull request

Updates the Ansible deployment template to create a cron job that runs daily at 12:05AM, prunes files in MEDIA_ROOT that are at least 1 day old, and logs the results to a file.

Also includes an update to the uwsgi.ini template to increase harakiri duration for the worker processes (this change was already rolled out and made in another template location; keeping things consistent).

When should this PR be merged

Anytime

Risks

Very low; Ansible deployment code changes only

Follow up actions

None

@amplifi amplifi added this to the Sprint 9 milestone Sep 30, 2016
@amplifi amplifi changed the title Enhancement/#354 Enhancement/#354 Cron task to prune MEDIA_ROOT files Sep 30, 2016
Facilitates questionnaire uploads from slower connections
Runs daily at 12:05AM to remove media files more than 1 day old
@oliverroick oliverroick merged commit 146631d into master Sep 30, 2016
@oliverroick oliverroick deleted the enhancement/#354 branch September 30, 2016 17:50
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.

2 participants