Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/update_container_registry_info_worker.rb')
-rw-r--r--app/workers/update_container_registry_info_worker.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/workers/update_container_registry_info_worker.rb b/app/workers/update_container_registry_info_worker.rb
new file mode 100644
index 00000000000..14a816f25ef
--- /dev/null
+++ b/app/workers/update_container_registry_info_worker.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+class UpdateContainerRegistryInfoWorker
+ include ApplicationWorker
+ include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
+
+ feature_category :container_registry
+ urgency :low
+
+ idempotent!
+
+ def perform
+ UpdateContainerRegistryInfoService.new.execute
+ end
+end