From 114461915aa0b344aec878be887e3521f9b69b56 Mon Sep 17 00:00:00 2001 From: Anthony Dreessen Date: Fri, 10 Apr 2015 17:07:31 -0700 Subject: [PATCH] reduce the number of stored payload_log_entries --- lib/tasks/truncate.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/truncate.rake b/lib/tasks/truncate.rake index 7a77b5afb..4362379d9 100644 --- a/lib/tasks/truncate.rake +++ b/lib/tasks/truncate.rake @@ -1,6 +1,6 @@ namespace "truncate" do - TRUNCATE_DEFAULT_DURATION = 3 - TRUNCATE_DEFAULT_COUNT = 15 + TRUNCATE_DEFAULT_DURATION = 1 + TRUNCATE_DEFAULT_COUNT = 2 desc "Truncate Payload Log Entries that are older than a certain date or successful (Default: #{TRUNCATE_DEFAULT_DURATION} days ago)" task :payload_log_entries, [:duration] => :environment do |task, args|