Thread: Doubt Regarding changes to disable keepalives in walsender

Doubt Regarding changes to disable keepalives in walsender

From
Amit Kapila
Date:
<div class="WordSection1"><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif"">In
commitda4efa13d801ccc179f1d2c24d8a60c4a2f8ede9, sending of keepalive messages have been disabled in walsender. <br
/>Commitmessage is “ Turn off WalSender keepalives by default, users can enable if desired.”</span><p
class="MsoNormal"><spanstyle="font-size:12.0pt;font-family:"Times New Roman","serif"">But I am not able to see how
userscan enable it, can you please point me if I am missing something?</span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif""> </span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif"">This doubt came as I am implementing replication timeout
forwalreceiver and for that walsender has to send some form of heartbeat message at predefined interval. I wanted to
usekeepalive to achieve the same, but then noticed the above and got stuck.</span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif""> </span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif""> </span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif"">With Regards,</span><p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"TimesNew Roman","serif"">Amit Kapila.</span></div>