Try warming up pretty text before we fork
This commit is contained in:
parent
7b6d946613
commit
2e71e6fc6f
|
@ -48,6 +48,8 @@ before_fork do |server, worker|
|
|||
table.classify.constantize.first rescue nil
|
||||
end
|
||||
|
||||
PrettyText.cook "<p>initialize <em>pretty</em> <strong>text</strong></p>"
|
||||
|
||||
# router warm up
|
||||
Rails.application.routes.recognize_path('abc') rescue nil
|
||||
|
||||
|
|
Loading…
Reference in New Issue