Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
d05f5c8f
Unverified
Commit
d05f5c8f
authored
Aug 29, 2018
by
Salvatore Sanfilippo
Committed by
GitHub
Aug 29, 2018
Browse files
Merge pull request #5268 from 0xtonyxia/fix-latency-cmd-comments2
Revise the comments of latency command.
parents
476eea95
1ab64d40
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/latency.c
View file @
d05f5c8f
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment