Skip to content
This repository
Browse code

Merge pull request #5140 from fbuenemann/fix/autoflush-wrong-template

Move config.autoflush_log to correct template
  • Loading branch information...
commit 68a977e49757c404cea14ee1c92cb5893f458eaf 2 parents c04a084 + fb9a919
Santiago Pastorino spastorino authored
3  railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt
@@ -35,7 +35,4 @@
35 35 # Expands the lines which load the assets.
36 36 config.assets.debug = true
37 37 <%- end -%>
38   -
39   - # Disable automatic flushing of the log to improve performance.
40   - #config.autoflush_log = false
41 38 end
3  railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
@@ -70,4 +70,7 @@
70 70 # with SQLite, MySQL, and PostgreSQL).
71 71 # config.active_record.auto_explain_threshold_in_seconds = 0.5
72 72 <%- end -%>
  73 +
  74 + # Disable automatic flushing of the log to improve performance.
  75 + # config.autoflush_log = false
73 76 end

0 comments on commit 68a977e

Please sign in to comment.
Something went wrong with that request. Please try again.