f05f8e2d3c
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
7 lines
283 B
Ruby
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
|