2020-12-22 21:10:06 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-02-23 12:10:56 +00:00
|
|
|
# This is a compatibility class to avoid calling a non-existent
|
|
|
|
# class from sidekiq during deployment.
|
|
|
|
#
|
|
|
|
# This class was moved to a namespace in https://gitlab.com/gitlab-org/gitlab/-/issues/299853.
|
|
|
|
# we cannot remove this class entirely because there can be jobs
|
|
|
|
# referencing it.
|
|
|
|
#
|
|
|
|
# We can get rid of this class in 14.0
|
|
|
|
# https://gitlab.com/gitlab-org/gitlab/-/issues/322393
|
|
|
|
class SnippetUpdateRepositoryStorageWorker < Snippets::UpdateRepositoryStorageWorker # rubocop:disable Scalability/IdempotentWorker
|
|
|
|
idempotent!
|
|
|
|
urgency :throttled
|
2020-12-22 21:10:06 +00:00
|
|
|
end
|