mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Added .eager_load config variable to each environment respectively
This commit is contained in:
parent
2dcc14b0a3
commit
e6c2ebcbc3
4 changed files with 8 additions and 3 deletions
|
@ -31,6 +31,5 @@ Ensl::Application.configure do
|
|||
# Use a different cache store
|
||||
config.cache_store = :dalli_store
|
||||
|
||||
# Enable threaded mode
|
||||
# config.threadsafe!
|
||||
config.eager_load = false
|
||||
end
|
||||
|
|
|
@ -64,4 +64,6 @@ Ensl::Application.configure do
|
|||
|
||||
# Custom Session Store config to allow gathers.staging.ensl.org
|
||||
# config.session_store :cookie_store, key: '_ENSL_session_key', expire_after: 30.days.to_i, domain: "gathers.ensl.org"
|
||||
end
|
||||
|
||||
config.eager_load = true
|
||||
end
|
||||
|
|
|
@ -64,4 +64,6 @@ Ensl::Application.configure do
|
|||
|
||||
# Custom Session Store config to allow gathers.staging.ensl.org
|
||||
config.session_store :cookie_store, key: "_ENSL_session_key_staging", expire_after: 30.days.to_i, domain: ".staging.ensl.org"
|
||||
|
||||
config.eager_load = true
|
||||
end
|
||||
|
|
|
@ -32,4 +32,6 @@ Ensl::Application.configure do
|
|||
|
||||
# Print deprecation notices to the stderr
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
config.eager_load = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue