Commit ec298011 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Rails prefers require_dependency so that it won't require twice:

Closes #20724
parent af9127e0
require 'gitlab/email/handler' require_dependency 'gitlab/email/handler'
# Inspired in great part by Discourse's Email::Receiver # Inspired in great part by Discourse's Email::Receiver
module Gitlab module Gitlab
......
require 'ruby-prof' require 'ruby-prof'
require 'gitlab/request_profiler' require_dependency 'gitlab/request_profiler'
module Gitlab module Gitlab
module RequestProfiler 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