]> git.saurik.com Git - redis.git/blobdiff - src/redis.h
Blocking POP: use a dictionary to store keys clinet side.
[redis.git] / src / redis.h
index c091f653dcf1e8e93d4957a78ed9a60a443334f2..f25d86eb63bca96f5db0b806d816fd9f3096a913 100644 (file)
@@ -350,9 +350,8 @@ typedef struct multiState {
 } multiState;
 
 typedef struct blockingState {
-    robj **keys;            /* The key we are waiting to terminate a blocking
+    dict *keys;             /* The keys we are waiting to terminate a blocking
                              * operation such as BLPOP. Otherwise NULL. */
-    int count;              /* Number of blocking keys */
     time_t timeout;         /* Blocking operation timeout. If UNIX current time
                              * is >= timeout then the operation timed out. */
     robj *target;           /* The key that should receive the element,