Commit 3284bffb authored by Andrew Newdigate's avatar Andrew Newdigate

Throttle ProjectUpdateRepositoryStorageWorker Jobs

Part of https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/436
parent d35cd556
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
--- ---
- :name: authorized_project_update:authorized_project_update_project_create - :name: authorized_project_update:authorized_project_update_project_create
:feature_category: :authentication_and_authorization :feature_category: :authentication_and_authorization
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
:tags: [] :tags: []
- :name: authorized_project_update:authorized_project_update_project_group_link_create - :name: authorized_project_update:authorized_project_update_project_group_link_create
:feature_category: :authentication_and_authorization :feature_category: :authentication_and_authorization
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
...@@ -1542,7 +1542,7 @@ ...@@ -1542,7 +1542,7 @@
- :name: project_update_repository_storage - :name: project_update_repository_storage
:feature_category: :gitaly :feature_category: :gitaly
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :throttled
:resource_boundary: :unknown :resource_boundary: :unknown
:weight: 1 :weight: 1
:idempotent: :idempotent:
......
...@@ -4,6 +4,7 @@ class ProjectUpdateRepositoryStorageWorker # rubocop:disable Scalability/Idempot ...@@ -4,6 +4,7 @@ class ProjectUpdateRepositoryStorageWorker # rubocop:disable Scalability/Idempot
include ApplicationWorker include ApplicationWorker
feature_category :gitaly feature_category :gitaly
urgency :throttled
def perform(project_id, new_repository_storage_key, repository_storage_move_id = nil) def perform(project_id, new_repository_storage_key, repository_storage_move_id = nil)
repository_storage_move = repository_storage_move =
......
---
title: Throttle ProjectUpdateRepositoryStorageWorker Jobs
merge_request: 35230
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment