Commit b2604dc5 authored by antirez's avatar antirez
Browse files

LATENCY SAMPLES renamed LATENCY HISTORY.

parent f8934657
...@@ -221,8 +221,8 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) { ...@@ -221,8 +221,8 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) {
void latencyCommand(redisClient *c) { void latencyCommand(redisClient *c) {
struct latencyTimeSeries *ts; struct latencyTimeSeries *ts;
if (!strcasecmp(c->argv[1]->ptr,"samples") && c->argc == 3) { if (!strcasecmp(c->argv[1]->ptr,"history") && c->argc == 3) {
/* LATENCY SAMPLES <event> */ /* LATENCY HISTORY <event> */
ts = dictFetchValue(server.latency_events,c->argv[2]->ptr); ts = dictFetchValue(server.latency_events,c->argv[2]->ptr);
if (ts == NULL) goto nodataerr; if (ts == NULL) goto nodataerr;
latencyCommandReplyWithSamples(c,ts); latencyCommandReplyWithSamples(c,ts);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment