From fc1bba108640e6057bcd0a34f052de1aebab5461 Mon Sep 17 00:00:00 2001 From: bertagaz <bertagaz@ptitcanardnoir.org> Date: Tue, 30 May 2017 17:21:04 +0200 Subject: [PATCH] Rakefile: lower to 4 months the age to which baseboxes gets deleted by basebox:clean_old. Refs: #12575, #12531, #12576 --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 2caeafc4f9e..0340c748247 100644 --- a/Rakefile +++ b/Rakefile @@ -623,7 +623,7 @@ namespace :basebox do boxes.sort! { |a, b| basebox_date(a) <=> basebox_date(b) } boxes.pop boxes.each do |box| - if basebox_date(box) < Date.today - 365.0/2.0 + if basebox_date(box) < Date.today - 365.0/3.0 clean_up_basebox(box) end end -- GitLab