From 3e8f5113fa29198faad3fd8ac657fbfb1103e954 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 7 Jul 2014 12:35:24 +0200 Subject: [PATCH] LATENCY SAMPLES renamed LATENCY HISTORY. --- src/latency.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/latency.c b/src/latency.c index 80810d98..14c4d39f 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 */ + if (!strcasecmp(c->argv[1]->ptr,"history") && c->argc == 3) { + /* LATENCY HISTORY */ ts = dictFetchValue(server.latency_events,c->argv[2]->ptr); if (ts == NULL) goto nodataerr; latencyCommandReplyWithSamples(c,ts);