Skip to content

Commit 68a977e

Browse files
committed
Merge pull request rails#5140 from fbuenemann/fix/autoflush-wrong-template
Move config.autoflush_log to correct template
2 parents c04a084 + fb9a919 commit 68a977e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

railties/lib/rails/generators/rails/app/templates/config/environments/development.rb.tt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,4 @@
3535
# Expands the lines which load the assets.
3636
config.assets.debug = true
3737
<%- end -%>
38-
39-
# Disable automatic flushing of the log to improve performance.
40-
#config.autoflush_log = false
4138
end

railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,7 @@
7070
# with SQLite, MySQL, and PostgreSQL).
7171
# config.active_record.auto_explain_threshold_in_seconds = 0.5
7272
<%- end -%>
73+
74+
# Disable automatic flushing of the log to improve performance.
75+
# config.autoflush_log = false
7376
end

0 commit comments

Comments
 (0)