From 0782dc390525c5d1db66ea53e1208689c7d0bfcb Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 9 May 2019 12:09:04 -0500 Subject: Drop remaining OStatus and PuSH code, as well as related database items. --- app/workers/scheduler/subscriptions_cleanup_scheduler.rb | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 app/workers/scheduler/subscriptions_cleanup_scheduler.rb (limited to 'app/workers') 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 -- cgit