Browse Source
* Revert "Add mini profiler (#2513)" This reverts commitpull/2509/head^2c19291c948
. * Revert "CLDC-2831 Update profiler storage (#2514)" This reverts commit2203577fee
.
kosiakkatrina
6 months ago
committed by
GitHub
3 changed files with 1 additions and 17 deletions
@ -1,11 +0,0 @@ |
|||||||
require "configuration/configuration_service" |
|
||||||
require "configuration/env_configuration_service" |
|
||||||
|
|
||||||
# set RedisStore |
|
||||||
if Rails.env.staging? |
|
||||||
configuration_service = Configuration::EnvConfigurationService.new |
|
||||||
redis_url = configuration_service.redis_uris.to_a[0][1] |
|
||||||
|
|
||||||
Rack::MiniProfiler.config.storage_options = { url: redis_url } |
|
||||||
Rack::MiniProfiler.config.storage = Rack::MiniProfiler::RedisStore |
|
||||||
end |
|
Loading…
Reference in new issue