mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
MIGRATE count of cached sockets in INFO output.
This commit is contained in:
parent
149b527a74
commit
c8852ebf19
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user