From bef45f06bfa2b1400bee6fe527b38bde3ba57815 Mon Sep 17 00:00:00 2001 From: John Sully Date: Wed, 22 Dec 2021 18:42:11 -0500 Subject: [PATCH] Reenable TCP No Delay Former-commit-id: e11211cdfeca46574a03f6f8210bbe1ab3d70961 --- src/replication.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/replication.cpp b/src/replication.cpp index 6be36c811..7a5280c0d 100644 --- a/src/replication.cpp +++ b/src/replication.cpp @@ -1099,8 +1099,8 @@ public: flushData(); for (auto replica : replicas) { // Return to original settings - //if (!g_pserver->repl_disable_tcp_nodelay) - // connEnableTcpNoDelay(replica->conn); + if (!g_pserver->repl_disable_tcp_nodelay) + connEnableTcpNoDelay(replica->conn); } }