Commit 40c32c3e authored by antirez's avatar antirez
Browse files

disable LZF compression since it's not able to load the DB for now, the load part is missing

parent d0751937
...@@ -1691,7 +1691,7 @@ static int rdbSaveStringObject(FILE *fp, robj *obj) { ...@@ -1691,7 +1691,7 @@ static int rdbSaveStringObject(FILE *fp, robj *obj) {
/* Try LZF compression - under 20 bytes it's unable to compress even /* Try LZF compression - under 20 bytes it's unable to compress even
* aaaaaaaaaaaaaaaaaa so to try is just useful to make the CPU hot */ * aaaaaaaaaaaaaaaaaa so to try is just useful to make the CPU hot */
if (len > 20) { if (0 && len > 20) {
int retval; int retval;
retval = rdbSaveLzfStringObject(fp,obj); retval = rdbSaveLzfStringObject(fp,obj);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment