diff options
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/scheduler/subscriptions_cleanup_scheduler.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/app/workers/scheduler/subscriptions_cleanup_scheduler.rb b/app/workers/scheduler/subscriptions_cleanup_scheduler.rb deleted file mode 100644 index 5fba120f6..000000000 --- a/app/workers/scheduler/subscriptions_cleanup_scheduler.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -class Scheduler::SubscriptionsCleanupScheduler - include Sidekiq::Worker - - sidekiq_options unique: :until_executed, retry: 0 - - def perform - Subscription.expired.in_batches.delete_all - end -end |