Add option to automatically delete toots after one week (#17691)

Fixes #17658
This commit is contained in:
Claire
2022-03-03 16:18:58 +01:00
committed by GitHub
parent 6d3fa7828e
commit 02dbc59c91
2 changed files with 2 additions and 0 deletions

View File

@ -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,