提交 723d788f 编写于 作者: R 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
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册