Drop memcached and use dalli as the memcache client
This commit is contained in:
parent
42fa563e01
commit
255b0b9425
7 changed files with 10 additions and 40 deletions
|
@ -58,7 +58,7 @@ OpenStreetMap::Application.configure do
|
|||
|
||||
# Use a different cache store in production.
|
||||
if defined?(MEMCACHE_SERVERS)
|
||||
config.cache_store = :mem_cache_store, MemCache.new(:namespace => "rails:cache", :no_block => true, :buffer_requests => true, :noreply => true)
|
||||
config.cache_store = :mem_cache_store, MEMCACHE_SERVERS, { :namespace => "rails:cache" }
|
||||
end
|
||||
|
||||
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue