summaryrefslogtreecommitdiff
path: root/redis.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-04-02 10:02:06 +0200
committerantirez <antirez@gmail.com>2009-04-02 10:02:06 +0200
commit40c32c3e4980d581c8468a9befa67e427c5249f3 (patch)
treeb91f2166895f33f6c6ce33a6fed6b106ba4a1dcf /redis.c
parentd07519372b980b112cae65988a5cd4bd9d1e1daa (diff)
downloadredis-40c32c3e4980d581c8468a9befa67e427c5249f3.tar.gz
disable LZF compression since it's not able to load the DB for now, the load part is missing
Diffstat (limited to 'redis.c')
-rw-r--r--redis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.c b/redis.c
index 0ea87cbd3..118e5bc98 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);