2020-08-26 08:10:53 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class PagesTransferWorker # rubocop:disable Scalability/IdempotentWorker
|
|
|
|
include ApplicationWorker
|
|
|
|
|
2021-07-21 08:09:35 -04:00
|
|
|
data_consistency :always
|
|
|
|
|
2021-04-30 14:10:09 -04:00
|
|
|
sidekiq_options retry: 3
|
|
|
|
|
2020-08-26 08:10:53 -04:00
|
|
|
TransferFailedError = Class.new(StandardError)
|
|
|
|
|
|
|
|
feature_category :pages
|
|
|
|
loggable_arguments 0, 1
|
|
|
|
|
|
|
|
def perform(method, args)
|
2022-06-04 20:08:11 -04:00
|
|
|
# noop
|
|
|
|
# This worker is not necessary anymore and will be removed
|
|
|
|
# https://gitlab.com/gitlab-org/gitlab/-/issues/340616
|
2020-08-26 08:10:53 -04:00
|
|
|
end
|
|
|
|
end
|