gitlab-org--gitlab-foss/app/workers/repository_archive_cache_wo...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
467 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class RepositoryArchiveCacheWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
# rubocop:disable Scalability/CronWorkerContext
# This worker does not perform work scoped to a context
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
2015-10-16 16:39:17 +00:00
feature_category :source_code_management
2015-10-16 16:39:17 +00:00
def perform
RepositoryArchiveCleanUpService.new.execute
2015-10-16 16:39:17 +00:00
end
end