2020-07-28 23:09:34 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class PartitionCreationWorker
|
|
|
|
include ApplicationWorker
|
2021-06-08 01:23:25 +05:30
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
data_consistency :always
|
|
|
|
|
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
|