Doubt Regarding changes to disable keepalives in walsender

Started by Amit Kapilaover 13 years ago1 messages
#1Amit Kapila
amit.kapila@huawei.com

In commit da4efa13d801ccc179f1d2c24d8a60c4a2f8ede9, sending of keepalive
messages have been disabled in walsender.
Commit message is " Turn off WalSender keepalives by default, users can
enable if desired."

But I am not able to see how users can enable it, can you please point me if
I am missing something?

This doubt came as I am implementing replication timeout for walreceiver and
for that walsender has to send some form of heartbeat message at predefined
interval. I wanted to use keepalive to achieve the same, but then noticed
the above and got stuck.

With Regards,

Amit Kapila.