Skip to content

Make Bullet configurable from the Gitlab settings

Stanislav Lashmanov requested to merge slashmanov/configurable-bullet into master

What does this MR do and why?

A Bullet gem is enabled in development mode to inform of heavy queries used in Gitlab app. The problem is that it adds overhead to each query even if you're not changing any queries at the moment.

This change would allow to disable Bullet via config/gitlab.yml instead of environment variable. It will be set to enabled by default in development mode unless there's already a setting in the file.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Stanislav Lashmanov

Merge request reports

Loading