mirror of
https://github.com/fluencelabs/redis
synced 2025-06-13 17:21:20 +00:00
TCP_NODELAY after SYNC: changes to the implementation.
This commit is contained in:
@ -1685,7 +1685,7 @@ int migrateGetSocket(redisClient *c, robj *host, robj *port, long timeout) {
|
||||
server.neterr);
|
||||
return -1;
|
||||
}
|
||||
anetTcpNoDelay(server.neterr,fd);
|
||||
anetEnableTcpNoDelay(server.neterr,fd);
|
||||
|
||||
/* Check if it connects within the specified timeout. */
|
||||
if ((aeWait(fd,AE_WRITABLE,timeout) & AE_WRITABLE) == 0) {
|
||||
|
Reference in New Issue
Block a user