Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-12-18 18:22:52 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2018-12-18 18:22:52 +0300
commit3a39c818c5782e2dd067248e86d7f082c9f51715 (patch)
treeda56a1dba9ffd0e29ad52859bd620a57ef1becb7 /config
parentaa7c927e1e4f114fea381d3856d195319f0ca0a1 (diff)
Load the devise initializer before metrics
Metrics tries to initialize the `EventsFinder` to instrumnt it. The `EventsFinder` tries to load the `Event` model, which in turn loads the `User` model. Loading the `User` model requires Devise to be initialized. So to avoid problems around this, we load devise before loading metrics.
Diffstat (limited to 'config')
-rw-r--r--config/initializers/8_devise.rb (renamed from config/initializers/devise.rb)0
1 files changed, 0 insertions, 0 deletions
diff --git a/config/initializers/devise.rb b/config/initializers/8_devise.rb
index 67eabb0b4fc..67eabb0b4fc 100644
--- a/config/initializers/devise.rb
+++ b/config/initializers/8_devise.rb