diff options
author | antirez <antirez@gmail.com> | 2013-12-03 17:43:53 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-12-03 17:43:53 +0100 |
commit | 82b672f6335ac2db32a724ba5dc10398c949a4a8 (patch) | |
tree | 20ea736c60ef3970e0df07e48ee0e9698d798bd1 /src/aof.c | |
parent | 2e027c48e5ab5e43e547bc4fb091574d1c7ed52b (diff) | |
download | redis-82b672f6335ac2db32a724ba5dc10398c949a4a8.tar.gz |
BLPOP blocking code refactored to be generic & reusable.
Diffstat (limited to 'src/aof.c')
-rw-r--r-- | src/aof.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -449,6 +449,7 @@ struct redisClient *createFakeClient(void) { c->argv = NULL; c->bufpos = 0; c->flags = 0; + c->btype = REDIS_BLOCKED_NONE; /* We set the fake client as a slave waiting for the synchronization * so that Redis will not try to send replies to this client. */ c->replstate = REDIS_REPL_WAIT_BGSAVE_START; |