Skip to content

Add feature flag to enforce gitaly request limits

What does this MR do?

Adds a feature flag to allow us to enable the Gitaly N+1 detector in our test environments. See https://gitlab.com/gitlab-org/gitlab-ce/issues/57911

Environments like staging and our upcoming performance test environment are production-like, so Rails.env.production? will return true, and so without this change the Gitaly N+1 detector would be disabled.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ce/issues/57911

Does this MR meet the acceptance criteria?

Edited by Mark Lapierre

Merge request reports