From 92cbd6936719b3ce4a952df53633b5cabb7c32e7 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Thu, 2 May 2013 14:58:19 -0700 Subject: [PATCH] memcache: Reduce compression threshold for permacache. --- r2/r2/lib/app_globals.py | 1 + 1 file changed, 1 insertion(+) diff --git a/r2/r2/lib/app_globals.py b/r2/r2/lib/app_globals.py index e203f9668..54fd820a0 100755 --- a/r2/r2/lib/app_globals.py +++ b/r2/r2/lib/app_globals.py @@ -439,6 +439,7 @@ class Globals(object): # a row cache. if self.permacache_memcaches: permacache_memcaches = CMemcache(self.permacache_memcaches, + min_compress_len=50 * 1024, num_clients=num_mc_clients) else: permacache_memcaches = None