From 1ab64d405e66c8fecd0ff7bd65d22c46f2b1ad0e Mon Sep 17 00:00:00 2001 From: "dejun.xdj" Date: Wed, 22 Aug 2018 18:07:02 +0800 Subject: [PATCH] Revise the comments of latency command. --- src/latency.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/latency.c b/src/latency.c index e8d2af306..d89c48db1 100644 --- a/src/latency.c +++ b/src/latency.c @@ -560,10 +560,11 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) { /* LATENCY command implementations. * - * LATENCY SAMPLES: return time-latency samples for the specified event. + * LATENCY HISTORY: return time-latency samples for the specified event. * LATENCY LATEST: return the latest latency for all the events classes. * LATENCY DOCTOR: returns an human readable analysis of instance latency. * LATENCY GRAPH: provide an ASCII graph of the latency of the specified event. + * LATENCY RESET: reset data of a specified event or all the data if no event provided. */ void latencyCommand(client *c) { struct latencyTimeSeries *ts;