Commit 723d788f authored by Robert Speicher's avatar Robert Speicher

Merge branch '38930-warmup' into 'master'

Resolve "First request after GDK server started is slow"

Closes #38930

See merge request gitlab-org/gitlab-ce!16153
parents 97bebab6 e202fe8c
......@@ -17,6 +17,11 @@ end
require ::File.expand_path('../config/environment', __FILE__)
warmup do |app|
client = Rack::MockRequest.new(app)
client.get('/')
end
map ENV['RAILS_RELATIVE_URL_ROOT'] || "/" do
run Gitlab::Application
end
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