Skip to content

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

What does this MR do?

It explicitly requires Gitlab::RequestProfiler::Middleware before inserting it in the stack instead of autoloading it.

Are there points in the code the reviewer needs to double check?

N/A

Why was this MR needed?

It fixes #20452 (closed)

What are the relevant issue numbers?

#20452 (closed)

Screenshots (if relevant)

N/A

Does this MR meet the acceptance criteria?

Merge request reports