mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 09:11:20 +00:00
Lazyfree: pending objects count in INFO output.
This commit is contained in:
@ -2803,7 +2803,8 @@ sds genRedisInfoString(char *section) {
|
||||
"maxmemory_human:%s\r\n"
|
||||
"maxmemory_policy:%s\r\n"
|
||||
"mem_fragmentation_ratio:%.2f\r\n"
|
||||
"mem_allocator:%s\r\n",
|
||||
"mem_allocator:%s\r\n"
|
||||
"lazyfree_pending_objects:%zu\r\n",
|
||||
zmalloc_used,
|
||||
hmem,
|
||||
server.resident_set_size,
|
||||
@ -2818,7 +2819,8 @@ sds genRedisInfoString(char *section) {
|
||||
maxmemory_hmem,
|
||||
evict_policy,
|
||||
zmalloc_get_fragmentation_ratio(server.resident_set_size),
|
||||
ZMALLOC_LIB
|
||||
ZMALLOC_LIB,
|
||||
lazyfreeGetPendingObjectsCount()
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user