Fix vacuum scheduler missing lock, locks never expiring (#19458)
Remove vacuuming of orphaned preview cards
This commit is contained in:
@@ -8,8 +8,8 @@ class Vacuum::MediaAttachmentsVacuum
|
||||
end
|
||||
|
||||
def perform
|
||||
vacuum_cached_files! if retention_period?
|
||||
vacuum_orphaned_records!
|
||||
vacuum_cached_files! if retention_period?
|
||||
end
|
||||
|
||||
private
|
||||
|
Reference in New Issue
Block a user