Gitlab::Metrics.current_transaction needs to be public for RailsQueueDuration

This commit is contained in:
Paco Guzman 2016-08-01 14:08:43 +02:00
parent e570b823c1
commit 2dcfaa1983
2 changed files with 2 additions and 2 deletions

View file

@ -30,6 +30,7 @@ v 8.11.0 (unreleased)
- Make branches sortable without push permission !5462 (winniehell) - Make branches sortable without push permission !5462 (winniehell)
- Check for Ci::Build artifacts at database level on pipeline partial - Check for Ci::Build artifacts at database level on pipeline partial
- Make "New issue" button in Issue page less obtrusive !5457 (winniehell) - Make "New issue" button in Issue page less obtrusive !5457 (winniehell)
- Gitlab::Metrics.current_transaction needs to be public for RailsQueueDuration
- Add GitLab Workhorse version to admin dashboard (Katarzyna Kobierska Ula Budziszewska) - Add GitLab Workhorse version to admin dashboard (Katarzyna Kobierska Ula Budziszewska)
- Add the `sprockets-es6` gem - Add the `sprockets-es6` gem
- Multiple trigger variables show in separate lines (Katarzyna Kobierska Ula Budziszewska) - Multiple trigger variables show in separate lines (Katarzyna Kobierska Ula Budziszewska)

View file

@ -141,10 +141,9 @@ module Gitlab
end end
end end
# Allow access from other metrics related middlewares
def self.current_transaction def self.current_transaction
Transaction.current Transaction.current
end end
private_class_method :current_transaction
end end
end end