MIGRATE count of cached sockets in INFO output.

This commit is contained in:
antirez 2012-11-12 14:01:56 +01:00
parent 149b527a74
commit c8852ebf19

View File

@ -2082,7 +2082,8 @@ sds genRedisInfoString(char *section) {
"keyspace_misses:%lld\r\n"
"pubsub_channels:%ld\r\n"
"pubsub_patterns:%lu\r\n"
"latest_fork_usec:%lld\r\n",
"latest_fork_usec:%lld\r\n"
"migrate_cached_sockets:%ld\r\n",
server.stat_numconnections,
server.stat_numcommands,
getOperationsPerSecond(),
@ -2093,7 +2094,8 @@ sds genRedisInfoString(char *section) {
server.stat_keyspace_misses,
dictSize(server.pubsub_channels),
listLength(server.pubsub_patterns),
server.stat_fork_time);
server.stat_fork_time,
dictSize(server.migrate_cached_sockets));
}
/* Replication */