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
88169baa
Commit
88169baa
authored
Feb 25, 2021
by
Quang-Minh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore workers with big_payload! attribute
Isuse
https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/825
parent
653778ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
app/workers/concerns/worker_attributes.rb
app/workers/concerns/worker_attributes.rb
+8
-0
No files found.
app/workers/concerns/worker_attributes.rb
View file @
88169baa
...
@@ -133,5 +133,13 @@ module WorkerAttributes
...
@@ -133,5 +133,13 @@ module WorkerAttributes
def
get_deduplication_options
def
get_deduplication_options
class_attributes
[
:deduplication_options
]
||
{}
class_attributes
[
:deduplication_options
]
||
{}
end
end
def
big_payload!
class_attributes
[
:big_payload
]
=
true
end
def
big_payload?
class_attributes
[
:big_payload
]
end
end
end
end
end
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