From 7f289c3b92bcd2b357d63ad1f76ede6afb3fdc08 Mon Sep 17 00:00:00 2001 From: antirez Date: Sat, 31 Aug 2019 14:40:09 +0200 Subject: [PATCH] Improve comment in flushSlavesOutputBuffers(). --- src/networking.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/networking.c b/src/networking.c index c21bc8a52..957411b60 100644 --- a/src/networking.c +++ b/src/networking.c @@ -2149,7 +2149,8 @@ void flushSlavesOutputBuffers(void) { * case the writable event is never installed, since the purpose * of put_online_on_ack is to postpone the moment it is installed. * This is what we want since slaves in this state should not receive - * writes before the first ACK. */ + * writes before the first ACK (to know the reason, grep for this + * flag in this file). */ if (slave->replstate == SLAVE_STATE_ONLINE && !slave->repl_put_online_on_ack && clientHasPendingReplies(slave))