mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Try warming up pretty text before we fork
This commit is contained in:
parent
7b6d946613
commit
2e71e6fc6f
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue