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

Commit 1144619

Browse files
committed
reduce the number of stored payload_log_entries
1 parent eedd7b0 commit 1144619

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/tasks/truncate.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace "truncate" do
2-
TRUNCATE_DEFAULT_DURATION = 3
3-
TRUNCATE_DEFAULT_COUNT = 15
2+
TRUNCATE_DEFAULT_DURATION = 1
3+
TRUNCATE_DEFAULT_COUNT = 2
44

55
desc "Truncate Payload Log Entries that are older than a certain date or successful (Default: #{TRUNCATE_DEFAULT_DURATION} days ago)"
66
task :payload_log_entries, [:duration] => :environment do |task, args|

0 commit comments

Comments
 (0)