Classes: Exclusions
Returns:
15 16 17
# File 'lib/gitlab/bullet.rb', line 15 def configure_bullet? Object.const_defined?(:Bullet) && enabled? end
7 8 9
# File 'lib/gitlab/bullet.rb', line 7 def enabled? Gitlab.config.bullet.enabled end
11 12 13
# File 'lib/gitlab/bullet.rb', line 11 def extra_logging_enabled? Gitlab::Utils.to_boolean(ENV['ENABLE_BULLET'], default: false) end