mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 01:31:21 +00:00
TCP_NODELAY after SYNC: changes to the implementation.
This commit is contained in:
@ -58,7 +58,7 @@ redisClient *createClient(int fd) {
|
||||
* contexts (for instance a Lua script) we need a non connected client. */
|
||||
if (fd != -1) {
|
||||
anetNonBlock(NULL,fd);
|
||||
anetTcpNoDelay(NULL,fd);
|
||||
anetEnableTcpNoDelay(NULL,fd);
|
||||
if (aeCreateFileEvent(server.el,fd,AE_READABLE,
|
||||
readQueryFromClient, c) == AE_ERR)
|
||||
{
|
||||
|
Reference in New Issue
Block a user