debian-mirror-gitlab/app/workers/partition_creation_worker.rb

17 lines
392 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
class PartitionCreationWorker
include ApplicationWorker
2021-06-08 01:23:25 +05:30
sidekiq_options retry: 3
2020-07-28 23:09:34 +05:30
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :database
idempotent!
def perform
2021-09-30 23:02:18 +05:30
# This worker has been removed in favor of Database::PartitionManagementWorker
Database::PartitionManagementWorker.new.perform
2020-07-28 23:09:34 +05:30
end
end