0
0
Fork 0

Periodically remove expired PuSH subscribers (#4654)

This commit is contained in:
Eugen Rochko 2017-08-21 22:56:33 +02:00 committed by GitHub
parent 143b77e10d
commit f391a4673a
6 changed files with 15 additions and 4 deletions

View file

@ -5,7 +5,6 @@ class Scheduler::MediaCleanupScheduler
include Sidekiq::Worker
def perform
logger.info 'Cleaning out unattached media attachments'
unattached_media.find_each(&:destroy)
end