From: antirez Date: Thu, 2 Apr 2009 08:02:06 +0000 (+0200) Subject: disable LZF compression since it's not able to load the DB for now, the load part... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/40c32c3e4980d581c8468a9befa67e427c5249f3?ds=inline;hp=-c disable LZF compression since it's not able to load the DB for now, the load part is missing --- 40c32c3e4980d581c8468a9befa67e427c5249f3 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);