mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
Don't build a reply when replaying the AOF
This commit is contained in:
@ -62,6 +62,7 @@ redisClient *createClient(int fd) {
|
||||
}
|
||||
|
||||
int _ensureFileEvent(redisClient *c) {
|
||||
if (c->fd <= 0) return REDIS_ERR;
|
||||
if (c->bufpos == 0 && listLength(c->reply) == 0 &&
|
||||
(c->replstate == REDIS_REPL_NONE ||
|
||||
c->replstate == REDIS_REPL_ONLINE) &&
|
||||
|
Reference in New Issue
Block a user