launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #30905
[Merge] ~barryprice/launchpad/+git/launchpad:master into launchpad:master
Barry Price has proposed merging ~barryprice/launchpad/+git/launchpad:master into launchpad:master.
Commit message:
launchpad-ppa-uploader crontab: Clean up rejected packages more aggressively to conserve disk space
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~barryprice/launchpad/+git/launchpad/+merge/460992
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~barryprice/launchpad/+git/launchpad:master into launchpad:master.
diff --git a/charm/launchpad-ppa-uploader/templates/crontab.j2 b/charm/launchpad-ppa-uploader/templates/crontab.j2
index de953d7..042bf58 100644
--- a/charm/launchpad-ppa-uploader/templates/crontab.j2
+++ b/charm/launchpad-ppa-uploader/templates/crontab.j2
@@ -16,8 +16,8 @@ LPCONFIG=launchpad-ppa-uploader
00 00 * * * find {{ ppa_queue_dir }}/accepted -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&1
00 00 * * * find {{ ppa_queue_dir }}/failed -maxdepth 1 -type f -mtime +7 -delete > /dev/null 2>&1
00 00 * * * find {{ ppa_queue_dir }}/failed -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&1
-00 00 * * * find {{ ppa_queue_dir }}/rejected -maxdepth 1 -type f -mtime +7 -delete > /dev/null 2>&1
-00 00 * * * find {{ ppa_queue_dir }}/rejected -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&1
+00 00 * * * find {{ ppa_queue_dir }}/rejected -maxdepth 1 -type f -mtime +3 -delete > /dev/null 2>&1
+00 00 * * * find {{ ppa_queue_dir }}/rejected -mindepth 1 -type d -mtime +3 -execdir rm -rf '{}' + > /dev/null 2>&1
{% endif %}
# OOPS amqp