]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
Use correct argc/argv for cleanup when loading AOF
[redis.git] / src / redis.c
index b164fdd1030d9f1267dc237b54749f753a88d2ee..96786df95667b1d40a5083158ccd6a03dfd18cb9 100644 (file)
@@ -1317,7 +1317,6 @@ sds genRedisInfoString(char *section) {
             "used_memory_peak:%zu\r\n"
             "used_memory_peak_human:%s\r\n"
             "mem_fragmentation_ratio:%.2f\r\n"
-            "peak_mem_fragmentation_ratio:%.2f\r\n"
             "use_tcmalloc:%d\r\n",
             zmalloc_used_memory(),
             hmem,
@@ -1325,7 +1324,6 @@ sds genRedisInfoString(char *section) {
             server.stat_peak_memory,
             peak_hmem,
             zmalloc_get_fragmentation_ratio(),
-            (float)zmalloc_get_rss()/server.stat_peak_memory,
     #ifdef USE_TCMALLOC
             1
     #else