Commit 2e06800b authored by Ahmad Sherif's avatar Ahmad Sherif

Fix RequestProfiler::Middleware error when code is reloaded in development

Closes #20452
parent 8c6b85ec
......@@ -40,6 +40,7 @@ v 8.11.0 (unreleased)
- Change requests_profiles resource constraint to catch virtually any file
- Reduce number of queries made for merge_requests/:id/diffs
- Sensible state specific default sort order for issues and merge requests !5453 (tomb0y)
- Fix RequestProfiler::Middleware error when code is reloaded in development
v 8.10.3 (unreleased)
- Fix hooks missing on imported GitLab projects
......
require 'gitlab/request_profiler/middleware'
Rails.application.configure do |config|
config.middleware.use(Gitlab::RequestProfiler::Middleware)
end
require 'ruby-prof'
require 'gitlab/request_profiler'
module Gitlab
module RequestProfiler
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment