blob: 8e1e4db81e3c0b9877ddfbaf0110adb8ceda6c9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class Scheduler::FilterCleanupScheduler
include Sidekiq::Worker
sidekiq_options unique: :until_executed
def perform
CustomFilter.expired.in_batches.destroy_all
end
end
|