diff options
author | antirez <antirez@gmail.com> | 2013-05-24 18:41:43 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-05-24 18:41:43 +0200 |
commit | c853239a5e803f413163ee4080a6a7667c0eb446 (patch) | |
tree | 99278e237f64dda3afa5c7304f11c26dc9b4a7e4 | |
parent | 5d0f408d429d4ef0eedcff66bba1464ff0e5a01a (diff) | |
download | redis-c853239a5e803f413163ee4080a6a7667c0eb446.tar.gz |
Top comment for prepareClientToWrite() clarified.
We don't write the output buffer to the client socket for slaves only if
the slave is not online.
-rw-r--r-- | src/networking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networking.c b/src/networking.c index 1fd803b65..64298c4e0 100644 --- a/src/networking.c +++ b/src/networking.c @@ -117,8 +117,8 @@ redisClient *createClient(int fd) { * loop so that when the socket is writable new data gets written. * * If the client should not receive new data, because it is a fake client - * or a slave, or because the setup of the write handler failed, the function - * returns REDIS_ERR. + * or a slave not yet online, or because the setup of the write handler + * failed, the function returns REDIS_ERR. * * Typically gets called every time a reply is built, before adding more * data to the clients output buffers. If the function returns REDIS_ERR no |