diff options
author | Paco Guzman <pacoguzmanp@gmail.com> | 2016-08-01 14:08:43 +0200 |
---|---|---|
committer | Paco Guzman <pacoguzmanp@gmail.com> | 2016-08-01 14:13:04 +0200 |
commit | 2dcfaa19833256f7638153a499ed907f86949dd6 (patch) | |
tree | 6395c796940adba1e883b5538cb5b0bffaa73e2f /lib | |
parent | e570b823c17ad405914b7b37e4df85c21edda2d1 (diff) | |
download | gitlab-ce-2dcfaa19833256f7638153a499ed907f86949dd6.tar.gz |
Gitlab::Metrics.current_transaction needs to be public for RailsQueueDuration
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/metrics.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitlab/metrics.rb b/lib/gitlab/metrics.rb index 081576a440c..41fcd971c22 100644 --- a/lib/gitlab/metrics.rb +++ b/lib/gitlab/metrics.rb @@ -141,10 +141,9 @@ module Gitlab end end + # Allow access from other metrics related middlewares def self.current_transaction Transaction.current end - - private_class_method :current_transaction end end |