summaryrefslogtreecommitdiff
path: root/app/workers/import_export_project_cleanup_worker.rb
blob: 6e112a47932bc507bcb9cec40a87b79347beb78a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

class ImportExportProjectCleanupWorker # rubocop:disable Scalability/IdempotentWorker
  include ApplicationWorker

  sidekiq_options retry: 3
  # rubocop:disable Scalability/CronWorkerContext
  # This worker does not perform work scoped to a context
  include CronjobQueue
  # rubocop:enable Scalability/CronWorkerContext

  feature_category :importers

  def perform
    ImportExportCleanUpService.new.execute
  end
end