From 40c32c3e4980d581c8468a9befa67e427c5249f3 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 2 Apr 2009 10:02:06 +0200 Subject: [PATCH] disable LZF compression since it's not able to load the DB for now, the load part is missing --- redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis.c b/redis.c index 0ea87cbd..118e5bc9 100644 --- a/redis.c +++ b/redis.c @@ -1691,7 +1691,7 @@ static int rdbSaveStringObject(FILE *fp, robj *obj) { /* Try LZF compression - under 20 bytes it's unable to compress even * aaaaaaaaaaaaaaaaaa so to try is just useful to make the CPU hot */ - if (len > 20) { + if (0 && len > 20) { int retval; retval = rdbSaveLzfStringObject(fp,obj);