Commit graph

2 commits

Author SHA1 Message Date
Peter Leitzen
1931c3efc9
Fix error when reloading code in Sidekiq
This commit fixes the following error in development:

    ArgumentError: A copy of Gitlab::Metrics::Transaction has been
    removed from the module tree but is still active!
2019-02-10 11:36:23 +01:00
Lin Jen-Shin
77b8c2c176 Always load the metrics the last
Because this could potentially load a model and we shouldn't
load models before all the patches we have in places.
2018-12-21 00:53:45 +08:00
Renamed from config/initializers/8_metrics.rb (Browse further)