diff options
Diffstat (limited to 'src/latency.c')
-rw-r--r-- | src/latency.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/latency.c b/src/latency.c index 80810d98c..14c4d39ff 100644 --- a/src/latency.c +++ b/src/latency.c @@ -221,8 +221,8 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) { void latencyCommand(redisClient *c) { struct latencyTimeSeries *ts; - if (!strcasecmp(c->argv[1]->ptr,"samples") && c->argc == 3) { - /* LATENCY SAMPLES <event> */ + if (!strcasecmp(c->argv[1]->ptr,"history") && c->argc == 3) { + /* LATENCY HISTORY <event> */ ts = dictFetchValue(server.latency_events,c->argv[2]->ptr); if (ts == NULL) goto nodataerr; latencyCommandReplyWithSamples(c,ts); |