diff options
Diffstat (limited to 'lib/gitlab/profiler.rb')
-rw-r--r-- | lib/gitlab/profiler.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/profiler.rb b/lib/gitlab/profiler.rb index 5af06e82c55..1a6feff915f 100644 --- a/lib/gitlab/profiler.rb +++ b/lib/gitlab/profiler.rb @@ -2,8 +2,6 @@ module Gitlab module Profiler - extend WithRequestStore - FILTERED_STRING = '[FILTERED]' IGNORE_BACKTRACES = %w[ @@ -62,7 +60,7 @@ module Gitlab logger = create_custom_logger(logger, private_token: private_token) - result = with_request_store do + result = ::Gitlab::SafeRequestStore.ensure_request_store do # Make an initial call for an asset path in development mode to avoid # sprockets dominating the profiler output. ActionController::Base.helpers.asset_path('katex.css') if Rails.env.development? |