mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
Add number of threads to INFO (#2085)
* Add number of threads to INFO * Make the changes for the number of threads suggested by a maintainer * Move thread_count after tcp_port * fix the whitespace issue * fix: whitespace Signed-off-by: Roman Gershman <roman@dragonflydb.io> --------- Signed-off-by: y9rabbito <66154871+y9rabbito@users.noreply.github.com> Signed-off-by: Roman Gershman <roman@dragonflydb.io> Co-authored-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
04cd2ff3f9
commit
c506e4ca6e
1 changed files with 1 additions and 1 deletions
|
@ -1436,7 +1436,7 @@ void ServerFamily::Info(CmdArgList args, ConnectionContext* cntx) {
|
|||
append("arch_bits", 64);
|
||||
append("multiplexing_api", multiplex_api);
|
||||
append("tcp_port", GetFlag(FLAGS_port));
|
||||
|
||||
append("thread_count", service_.proactor_pool().size());
|
||||
size_t uptime = m.uptime;
|
||||
append("uptime_in_seconds", uptime);
|
||||
append("uptime_in_days", uptime / (3600 * 24));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue