Fix incorrect comment about STATS_METRIC_* Macro in server.h

Signed-off-by: John <johnufida@163.com>
This commit is contained in:
John 2025-12-15 17:26:32 +08:00 committed by GitHub
parent d16788e52d
commit cfa8314241
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -183,9 +183,9 @@ struct hdr_histogram;
#define STATS_METRIC_SAMPLES 16 /* Number of samples per metric. */
typedef enum {
STATS_METRIC_COMMAND = 0, /* Number of commands executed. */
STATS_METRIC_NET_INPUT, /* Bytes read to network. */
STATS_METRIC_NET_INPUT, /* Bytes read from network. */
STATS_METRIC_NET_OUTPUT, /* Bytes written to network. */
STATS_METRIC_NET_INPUT_REPLICATION, /* Bytes read to network during replication. */
STATS_METRIC_NET_INPUT_REPLICATION, /* Bytes read from network during replication. */
STATS_METRIC_NET_OUTPUT_REPLICATION, /* Bytes written to network during replication. */
STATS_METRIC_EL_CYCLE, /* Number of eventloop cycled. */
STATS_METRIC_EL_DURATION, /* Eventloop duration. */