blob: 7dfa27c395af0f9ae54119662a24a59f454c4a3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
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'
Gitlab::Application.configure do |config|
config.middleware.use(Gitlab::QueryLimiting::Middleware)
end
end
|