From b2604dc58c69f357a66df54067eec33a4f262cc9 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);