mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Try warming up pretty text before we fork
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user