Commit 5f8c8203 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove FF check from CI/CD queue operation metrics

parent c772ea98
...@@ -72,8 +72,6 @@ module Gitlab ...@@ -72,8 +72,6 @@ module Gitlab
# rubocop: enable CodeReuse/ActiveRecord # rubocop: enable CodeReuse/ActiveRecord
def increment_queue_operation(operation) def increment_queue_operation(operation)
return unless Feature.enabled?(:gitlab_ci_builds_queuing_metrics, default_enabled: false)
if !Rails.env.production? && !OPERATION_COUNTERS.include?(operation) if !Rails.env.production? && !OPERATION_COUNTERS.include?(operation)
raise ArgumentError, "unknown queue operation: #{operation}" raise ArgumentError, "unknown queue operation: #{operation}"
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