]> cat aescling's git repositories - mastodon.git/commit
Add retention policy for cached content and media (#19232)
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 27 Sep 2022 01:08:19 +0000 (03:08 +0200)
committeraescling <aescling+gitlab@cat.family>
Thu, 17 Nov 2022 03:12:31 +0000 (22:12 -0500)
commit0fd4540b2fb9556610c35a313dc6230246c30195
treed047977044821fd2a6028b8f693b0edd571f462f
parent5c78c5c87baa27ebc31023f8d80ea7786cf2c27d
Add retention policy for cached content and media (#19232)
30 files changed:
app/lib/redis_configuration.rb
app/lib/vacuum.rb [new file with mode: 0644]
app/lib/vacuum/access_tokens_vacuum.rb [moved from app/workers/scheduler/doorkeeper_cleanup_scheduler.rb with 56% similarity]
app/lib/vacuum/backups_vacuum.rb [new file with mode: 0644]
app/lib/vacuum/feeds_vacuum.rb [new file with mode: 0644]
app/lib/vacuum/media_attachments_vacuum.rb [new file with mode: 0644]
app/lib/vacuum/preview_cards_vacuum.rb [new file with mode: 0644]
app/lib/vacuum/statuses_vacuum.rb [new file with mode: 0644]
app/lib/vacuum/system_keys_vacuum.rb [new file with mode: 0644]
app/models/content_retention_policy.rb [new file with mode: 0644]
app/models/form/admin_settings.rb
app/views/admin/settings/edit.html.haml
app/workers/scheduler/backup_cleanup_scheduler.rb [deleted file]
app/workers/scheduler/feed_cleanup_scheduler.rb [deleted file]
app/workers/scheduler/media_cleanup_scheduler.rb [deleted file]
app/workers/scheduler/vacuum_scheduler.rb [new file with mode: 0644]
config/locales/simple_form.en.yml
config/settings.yml
config/sidekiq.yml
spec/fabricators/access_grant_fabricator.rb [new file with mode: 0644]
spec/fabricators/preview_card_fabricator.rb
spec/lib/vacuum/access_tokens_vacuum_spec.rb [new file with mode: 0644]
spec/lib/vacuum/backups_vacuum_spec.rb [new file with mode: 0644]
spec/lib/vacuum/feeds_vacuum_spec.rb [new file with mode: 0644]
spec/lib/vacuum/media_attachments_vacuum_spec.rb [new file with mode: 0644]
spec/lib/vacuum/preview_cards_vacuum_spec.rb [new file with mode: 0644]
spec/lib/vacuum/statuses_vacuum_spec.rb [new file with mode: 0644]
spec/lib/vacuum/system_keys_vacuum_spec.rb [new file with mode: 0644]
spec/workers/scheduler/feed_cleanup_scheduler_spec.rb [deleted file]
spec/workers/scheduler/media_cleanup_scheduler_spec.rb [deleted file]