Switch to rails 6 cache store

This commit is contained in:
Ari Timonen 2020-11-15 05:47:43 +02:00
parent 1ab89b7ba3
commit 92595cea70

View file

@ -49,7 +49,7 @@ module Ensl
config.secret_token = ENV['APP_SECRET']
# Use a different cache store
config.cache_store = :dalli_store, 'memcached:11211'
config.cache_store = :mem_cache_store, 'memcached:11211'
# Use smtp-Server
config.action_mailer.delivery_method = :smtp
@ -88,7 +88,7 @@ module Ensl
config.active_support.deprecation = :notify
# Enable threaded mode
# Almost nothing is thread-safe, do not
# Almost nothing is thread-safe, do NOT use this
# config.threadsafe!
end
end