2018-06-27 07:23:28 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-02-19 18:09:10 +00:00
|
|
|
class RepositoryArchiveCacheWorker # rubocop:disable Scalability/IdempotentWorker
|
2017-11-28 16:08:30 +00:00
|
|
|
include ApplicationWorker
|
2020-02-10 12:08:59 +00:00
|
|
|
# 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
|
|
|
|
2019-10-18 11:11:44 +00:00
|
|
|
feature_category :source_code_management
|
|
|
|
|
2015-10-16 16:39:17 +00:00
|
|
|
def perform
|
2016-07-18 19:38:36 +00:00
|
|
|
RepositoryArchiveCleanUpService.new.execute
|
2015-10-16 16:39:17 +00:00
|
|
|
end
|
|
|
|
end
|