Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
77cc940a
Commit
77cc940a
authored
Mar 24, 2020
by
Andrew Newdigate
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make project_export_worker urgency throttled
parent
8e1342f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
app/workers/all_queues.yml
app/workers/all_queues.yml
+1
-1
app/workers/project_export_worker.rb
app/workers/project_export_worker.rb
+1
-0
changelogs/unreleased/project_export_urgency_throttled.yml
changelogs/unreleased/project_export_urgency_throttled.yml
+5
-0
No files found.
app/workers/all_queues.yml
View file @
77cc940a
...
...
@@ -1224,7 +1224,7 @@
-
:name: project_export
:feature_category: :importers
:has_external_dependencies:
:urgency: :
low
:urgency: :
throttled
:resource_boundary: :memory
:weight:
1
:idempotent:
...
...
app/workers/project_export_worker.rb
View file @
77cc940a
...
...
@@ -7,6 +7,7 @@ class ProjectExportWorker # rubocop:disable Scalability/IdempotentWorker
feature_category
:importers
worker_resource_boundary
:memory
urgency
:throttled
def
perform
(
current_user_id
,
project_id
,
after_export_strategy
=
{},
params
=
{})
current_user
=
User
.
find
(
current_user_id
)
...
...
changelogs/unreleased/project_export_urgency_throttled.yml
0 → 100644
View file @
77cc940a
---
title
:
Change project_export_worker urgency to throttled
merge_request
:
27941
author
:
type
:
other
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment