Commit Graph

5 Commits

Author SHA1 Message Date
Rémy Coutable 6dcfc4002e Don't require lib/gitlab/request_profiler/middleware.rb in config/initializers/request_profiler.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-02-02 17:22:10 +01:00
Lin Jen-Shin ec298011f2 Rails prefers require_dependency so that it won't require twice:
Closes #20724
2016-08-09 06:48:23 +00:00
Ahmad Sherif 0720b9ce00 Catch what warden might throw when profiling requests to re-throw it
Closes #20488
2016-08-01 22:10:04 +02:00
Ahmad Sherif 2e06800bfd Fix RequestProfiler::Middleware error when code is reloaded in development
Closes #20452
2016-08-01 14:26:11 +02:00
Ahmad Sherif 345cd22f21 Profile requests when a header is passed 2016-07-26 20:06:09 +02:00