diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-03-03 16:18:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 16:18:58 +0100 |
commit | 02dbc59c91dbde9bfa67202200f4389971fc815b (patch) | |
tree | af09c72755804d0a6a18d099c6ed94f17c695787 /app | |
parent | 6d3fa7828ea3cddc267f19634d7bc5d917e62be8 (diff) |
Add option to automatically delete toots after one week (#17691)
Fixes #17658
Diffstat (limited to 'app')
-rw-r--r-- | app/models/account_statuses_cleanup_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/account_statuses_cleanup_policy.rb b/app/models/account_statuses_cleanup_policy.rb index 0f78c1a54..365123653 100644 --- a/app/models/account_statuses_cleanup_policy.rb +++ b/app/models/account_statuses_cleanup_policy.rb @@ -23,6 +23,7 @@ class AccountStatusesCleanupPolicy < ApplicationRecord include Redisable ALLOWED_MIN_STATUS_AGE = [ + 1.week.seconds, 2.weeks.seconds, 1.month.seconds, 2.months.seconds, |