Commit 0bfeead1 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'project_export_urgency_throttled' into 'master'

Make project_export_worker urgency throttled

Closes gitlab-com/gl-infra/scalability#217

See merge request gitlab-org/gitlab!27941
parents 760c9334 77cc940a
...@@ -1224,7 +1224,7 @@ ...@@ -1224,7 +1224,7 @@
- :name: project_export - :name: project_export
:feature_category: :importers :feature_category: :importers
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :throttled
:resource_boundary: :memory :resource_boundary: :memory
:weight: 1 :weight: 1
:idempotent: :idempotent:
......
...@@ -7,6 +7,7 @@ class ProjectExportWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -7,6 +7,7 @@ class ProjectExportWorker # rubocop:disable Scalability/IdempotentWorker
feature_category :importers feature_category :importers
worker_resource_boundary :memory worker_resource_boundary :memory
urgency :throttled
def perform(current_user_id, project_id, after_export_strategy = {}, params = {}) def perform(current_user_id, project_id, after_export_strategy = {}, params = {})
current_user = User.find(current_user_id) current_user = User.find(current_user_id)
......
---
title: Change project_export_worker urgency to throttled
merge_request: 27941
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