mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
turns out that instansiating a storage provider and assigning it nowhere, just don't work
This commit is contained in:
parent
4a8563461a
commit
e3d30f1366
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
GIT
|
||||
remote: git://github.com/SamSaffron/MiniProfiler
|
||||
revision: 00be389867a43f5b95cf520c521d00b22aa8f1c2
|
||||
revision: e0bf4fa12d97e21d40adacc3e09a7648d6d9bf31
|
||||
specs:
|
||||
rack-mini-profiler (0.1.23)
|
||||
rack (>= 1.1.3)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# If Mini Profiler is included via gem
|
||||
if defined?(Rack::MiniProfiler)
|
||||
|
||||
Rack::MiniProfiler::RedisStore.new(:connection => DiscourseRedis.new)
|
||||
Rack::MiniProfiler.config.storage_instance = Rack::MiniProfiler::RedisStore.new(:connection => DiscourseRedis.new)
|
||||
|
||||
# For our app, let's just show mini profiler always, polling is chatty so nuke that
|
||||
Rack::MiniProfiler.config.pre_authorize_cb = lambda do |env|
|
||||
|
|
Loading…
Reference in a new issue