diff options
author | Stan Hu <stanhu@gmail.com> | 2018-02-12 22:15:26 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-02-12 22:41:03 +0300 |
commit | 04b642889a0459ff38cca043c5898ba4647d2fc6 (patch) | |
tree | 81e532ba5f3f1a07163aa53d6a6c3b8b5d7ea4c2 /lib/gitlab | |
parent | 498ade4801a822f8704390b10d178af9fe7987cb (diff) |
Disable query limiting warnings for now on GitLab.com
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/query_limiting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/query_limiting.rb b/lib/gitlab/query_limiting.rb index f64f1757144..9f69a9e4a39 100644 --- a/lib/gitlab/query_limiting.rb +++ b/lib/gitlab/query_limiting.rb @@ -6,7 +6,7 @@ module Gitlab # This ensures we don't produce any errors that users can't do anything # about themselves. def self.enable? - Gitlab.com? || Rails.env.development? || Rails.env.test? + Rails.env.development? || Rails.env.test? end # Allows the current request to execute any number of SQL queries. |