2020-11-24 15:15:51 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class PagesTransferWorker # rubocop:disable Scalability/IdempotentWorker
|
|
|
|
include ApplicationWorker
|
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
data_consistency :always
|
|
|
|
|
2021-06-08 01:23:25 +05:30
|
|
|
sidekiq_options retry: 3
|
|
|
|
|
2020-11-24 15:15:51 +05:30
|
|
|
TransferFailedError = Class.new(StandardError)
|
|
|
|
|
|
|
|
feature_category :pages
|
|
|
|
loggable_arguments 0, 1
|
|
|
|
|
|
|
|
def perform(method, args)
|
2022-07-23 23:45:48 +05:30
|
|
|
# noop
|
|
|
|
# This worker is not necessary anymore and will be removed
|
|
|
|
# https://gitlab.com/gitlab-org/gitlab/-/issues/340616
|
2020-11-24 15:15:51 +05:30
|
|
|
end
|
|
|
|
end
|