Commit 88169baa authored by Quang-Minh Nguyen's avatar Quang-Minh Nguyen

Ignore workers with big_payload! attribute

Isuse https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/825
parent 653778ef
...@@ -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
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