mirror of
https://github.com/fluencelabs/redis
synced 2025-03-25 11:51:03 +00:00
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.
This commit is contained in:
parent
5d0f408d42
commit
c853239a5e
@ -117,8 +117,8 @@ redisClient *createClient(int fd) {
|
|||||||
* loop so that when the socket is writable new data gets written.
|
* 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
|
* 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
|
* or a slave not yet online, or because the setup of the write handler
|
||||||
* returns REDIS_ERR.
|
* failed, the function returns REDIS_ERR.
|
||||||
*
|
*
|
||||||
* Typically gets called every time a reply is built, before adding more
|
* 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
|
* data to the clients output buffers. If the function returns REDIS_ERR no
|
||||||
|
Loading…
x
Reference in New Issue
Block a user