1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-05 02:22:28 +03:00

Turn off WalSender keepalives by default, users can enable if desired

This commit is contained in:
Simon Riggs
2012-08-09 17:06:47 +01:00
parent 6a2cbe1235
commit 86ece4bff6
2 changed files with 2 additions and 1 deletions

View File

@@ -834,7 +834,7 @@ WalSndLoop(void)
if (pq_is_send_pending())
wakeEvents |= WL_SOCKET_WRITEABLE;
else
else if (MyWalSnd->sendKeepalive)
{
WalSndKeepalive(output_message);
/* Try to flush pending output to the client */