summaryrefslogtreecommitdiff
path: root/src/latency.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-07-26 15:20:46 +0200
committerantirez <antirez@gmail.com>2015-07-26 15:20:52 +0200
commit554bd0e7bd81715e319cafda437ed2aebd44b6e9 (patch)
tree7b756d6a395b0a443b6641914d68f012ec54a0c2 /src/latency.c
parent424fe9afd9264991cddb502204276a244537c87f (diff)
downloadredis-554bd0e7bd81715e319cafda437ed2aebd44b6e9.tar.gz
RDMF: use client instead of redisClient, like Disque.
Diffstat (limited to 'src/latency.c')
-rw-r--r--src/latency.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/latency.c b/src/latency.c
index d6261f603..49a01f590 100644
--- a/src/latency.c
+++ b/src/latency.c
@@ -474,7 +474,7 @@ sds createLatencyReport(void) {
/* latencyCommand() helper to produce a time-delay reply for all the samples
* in memory for the specified time series. */
-void latencyCommandReplyWithSamples(redisClient *c, struct latencyTimeSeries *ts) {
+void latencyCommandReplyWithSamples(client *c, struct latencyTimeSeries *ts) {
void *replylen = addDeferredMultiBulkLength(c);
int samples = 0, j;
@@ -492,7 +492,7 @@ void latencyCommandReplyWithSamples(redisClient *c, struct latencyTimeSeries *ts
/* latencyCommand() helper to produce the reply for the LATEST subcommand,
* listing the last latency sample for every event type registered so far. */
-void latencyCommandReplyWithLatestEvents(redisClient *c) {
+void latencyCommandReplyWithLatestEvents(client *c) {
dictIterator *di;
dictEntry *de;
@@ -564,7 +564,7 @@ sds latencyCommandGenSparkeline(char *event, struct latencyTimeSeries *ts) {
* LATENCY DOCTOR: returns an human readable analysis of instance latency.
* LATENCY GRAPH: provide an ASCII graph of the latency of the specified event.
*/
-void latencyCommand(redisClient *c) {
+void latencyCommand(client *c) {
struct latencyTimeSeries *ts;
if (!strcasecmp(c->argv[1]->ptr,"history") && c->argc == 3) {