Commit 068f6983 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'warn-on-records-fetched-greater-than' into 'master'

Enable warn_on_records_fetched_greater_than in dev

See merge request gitlab-org/gitlab!27280
parents 9a61d5f0 2160522c
...@@ -11,6 +11,9 @@ Rails.application.configure do ...@@ -11,6 +11,9 @@ Rails.application.configure do
config.consider_all_requests_local = true config.consider_all_requests_local = true
config.action_controller.perform_caching = false config.action_controller.perform_caching = false
# Show a warning when a large data set is loaded into memory
config.active_record.warn_on_records_fetched_greater_than = 1000
# Print deprecation notices to the Rails logger # Print deprecation notices to the Rails logger
config.active_support.deprecation = :log config.active_support.deprecation = :log
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment