From a864cae2a55e708e094a879c604841a9d396a07c Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 27 May 2013 19:33:03 +0200 Subject: [PATCH] A comment about BLPOP timeout did not reflected actual behavior. --- src/redis.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/redis.h b/src/redis.h index e4045c11f..88522533e 100644 --- a/src/redis.h +++ b/src/redis.h @@ -395,13 +395,15 @@ typedef struct multiCmd { typedef struct multiState { multiCmd *commands; /* Array of MULTI commands */ int count; /* Total number of MULTI commands */ + int minreplicas; /* MINREPLICAS for synchronous replication */ + time_t minreplicas_timeout; /* MINREPLICAS timeout as unixtime. */ } multiState; typedef struct blockingState { dict *keys; /* The keys we are waiting to terminate a blocking * operation such as BLPOP. Otherwise NULL. */ time_t timeout; /* Blocking operation timeout. If UNIX current time - * is >= timeout then the operation timed out. */ + * is > timeout then the operation timed out. */ robj *target; /* The key that should receive the element, * for BRPOPLPUSH. */ } blockingState;