Improve comment in flushSlavesOutputBuffers().
This commit is contained in:
parent
e87768e8ca
commit
11228bd0fb
@ -2475,7 +2475,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). */
|
||||
events = aeGetFileEvents(server.el,slave->fd);
|
||||
if (events & AE_WRITABLE &&
|
||||
slave->replstate == SLAVE_STATE_ONLINE &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user