mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Support a warmup for JRuby
This commit is contained in:
parent
b57d94c187
commit
930d235981
1 changed files with 6 additions and 7 deletions
|
@ -70,10 +70,9 @@ class HttpPostController < ActionController::Metal
|
|||
end
|
||||
end
|
||||
|
||||
# Runner.run(MetalPostController, N, 'metal')
|
||||
# Runner.run(HttpPostController.action(:index), N, 'http') if defined? HttpPostController
|
||||
# Runner.run(BasePostController.action(:index), N, 'base')
|
||||
(ENV["M"] || 1).to_i.times do
|
||||
Runner.run(BasePostController.action(:partial), N, 'partial')
|
||||
Runner.run(BasePostController.action(:many_partials), N, 'many_partials')
|
||||
Runner.run(BasePostController.action(:partial_collection), N, 'collection')
|
||||
Runner.run(BasePostController.action(:show_template), N, 'template')
|
||||
end
|
Loading…
Reference in a new issue