trabajo-afectivo/config/initializers/log_websocket_session_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

8 lines
274 B
Ruby

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
if Rails.application.config.websocket_session_store.eql? :redis
Rails.logger.info 'Using Redis as web socket session store.'
else
Rails.logger.info 'Using File as web socket session store.'
end