]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
Non-blocking connect with master
[redis.git] / src / redis.c
index 5ddbb177cf6d284c2bceead0f7894f8b11034e3d..63b41ba841a0467f2057f3845e84880efdffeb2b 100644 (file)
@@ -1319,18 +1319,14 @@ sds genRedisInfoString(char *section) {
             "used_memory_peak:%zu\r\n"
             "used_memory_peak_human:%s\r\n"
             "mem_fragmentation_ratio:%.2f\r\n"
-            "use_tcmalloc:%d\r\n",
+            "mem_allocator:%s\r\n",
             zmalloc_used_memory(),
             hmem,
             zmalloc_get_rss(),
             server.stat_peak_memory,
             peak_hmem,
             zmalloc_get_fragmentation_ratio(),
-    #ifdef USE_TCMALLOC
-            1
-    #else
-            0
-    #endif
+            REDIS_MALLOC
             );
     }