提交 302b0a5c 编写于 作者: A antirez

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.
上级 0b398b6f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册