Drop memcached and use dalli as the memcache client

This commit is contained in:
Tom Hughes 2013-09-22 15:57:22 +01:00
parent 42fa563e01
commit 255b0b9425
7 changed files with 10 additions and 40 deletions

View file

@ -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.