Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
reduce the number of stored payload_log_entries
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinwheeler committed Apr 11, 2015
1 parent eedd7b0 commit 1144619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/truncate.rake
Original file line number Diff line number Diff line change
@@ -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|
Expand Down

0 comments on commit 1144619

Please sign in to comment.