debian-mirror-gitlab/app/workers/import_export_project_cleanup_worker.rb
2021-06-08 01:23:25 +05:30

18 lines
452 B
Ruby

# 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