Merge pull request #5268 from 0xtonyxia/fix-latency-cmd-comments2

Revise the comments of latency command.
This commit is contained in:
Salvatore Sanfilippo 2018-08-29 16:19:13 +02:00 committed by GitHub
commit d05f5c8f64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;