diff options
Diffstat (limited to 'config/initializers/query_limiting.rb')
-rw-r--r-- | config/initializers/query_limiting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/query_limiting.rb b/config/initializers/query_limiting.rb index 66aefc97c6a..7dfa27c395a 100644 --- a/config/initializers/query_limiting.rb +++ b/config/initializers/query_limiting.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -if Gitlab::QueryLimiting.enable? +if Gitlab::QueryLimiting.enabled_for_env? require_dependency 'gitlab/query_limiting/active_support_subscriber' require_dependency 'gitlab/query_limiting/transaction' require_dependency 'gitlab/query_limiting/middleware' |