From: Tom Hughes Date: Thu, 23 Feb 2012 21:42:33 +0000 (+0000) Subject: Don't use the binary memcache protocol X-Git-Tag: live~5761 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/92f667f4885ce630ec9dc76eaf5bc42ebc49cee4?hp=7c3a4b497e8f99d2642260ec604d111f4a866b01 Don't use the binary memcache protocol The binary protocol appears to offer no perforance advantage and doesn't support pipelining of requests. --- diff --git a/lib/mem_cache.rb b/lib/mem_cache.rb index 269b0c3d6..ddb842b53 100644 --- a/lib/mem_cache.rb +++ b/lib/mem_cache.rb @@ -6,7 +6,7 @@ class MemCache < Memcached::Rails @@connections = [] def initialize(options = {}) - options.reverse_merge! :binary_protocol => true, :namespace_separator => ":" + options.reverse_merge! :namespace_separator => ":" super(MEMCACHE_SERVERS, options)