From 92f667f4885ce630ec9dc76eaf5bc42ebc49cee4 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 23 Feb 2012 21:42:33 +0000 Subject: [PATCH] Don't use the binary memcache protocol The binary protocol appears to offer no perforance advantage and doesn't support pipelining of requests. --- lib/mem_cache.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5