DEV: Increase number of mini-profiler traces in development.

DEV: Increase number of mini-profiler traces in development.

Assets are served via the server in development and the default 20 traces is too little for the number of assets we load in development.

diff --git a/config/initializers/006-mini_profiler.rb b/config/initializers/006-mini_profiler.rb
index 0f80836..30e348b 100644
--- a/config/initializers/006-mini_profiler.rb
+++ b/config/initializers/006-mini_profiler.rb
@@ -76,6 +76,8 @@ if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)
 
   Rack::MiniProfiler.config.backtrace_includes = [/^\/?(app|config|lib|test|plugins)/]
 
+  Rack::MiniProfiler.config.max_traces_to_show = 100 if Rails.env.development?
+
   Rack::MiniProfiler.counter_method(Redis::Client, :call) { 'redis' }
   # Rack::MiniProfiler.counter_method(ActiveRecord::QueryMethods, 'build_arel')
   # Rack::MiniProfiler.counter_method(Array, 'uniq')

GitHub sha: fbfd54a9413fb66b5ef6e251a7ad7f89b2568874

This commit appears in #13355 which was approved by eviltrout. It was merged by tgxworld.