mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 12:08:47 +01:00
12 lines
No EOL
488 B
Ruby
12 lines
No EOL
488 B
Ruby
# Have Mini Profiler show up on the right
|
|
Rack::MiniProfiler.config.position = 'right'
|
|
|
|
# Have Mini Profiler start in hidden mode - display with short cut (defaulted to 'Alt+P')
|
|
Rack::MiniProfiler.config.start_hidden = true
|
|
|
|
# Don't collect backtraces on SQL queries that take less than 5 ms to execute
|
|
# (necessary on Rubies earlier than 2.0)
|
|
# Rack::MiniProfiler.config.backtrace_threshold_ms = 5
|
|
|
|
# Use memory storage
|
|
Rack::MiniProfiler.config.storage = Rack::MiniProfiler::MemoryStore |