trabajo-afectivo/config/initializers/log_cache_store.rb
Martin Gruner f05f8e2d3c Maintenance: Add support for memcached (via the 'dalli' gem) as Rails cache store.
To activate this, simply specify MEMCACHE_SERVERS=your.server and Zammad will use that as Rails cache store.

See also https://github.com/zammad/zammad/issues/1601
2021-07-02 11:46:37 +00:00

7 lines
283 B
Ruby

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
if Rails.application.config.cache_store.first.eql? :mem_cache_store
Rails.logger.info 'Using memcached as Rails cache store.'
else
Rails.logger.info "Using Zammad's file store as Rails cache store."
end