Blockstream / greenlight

Build apps using self-custodial lightning nodes in the cloud
https://blockstream.github.io/greenlight/getting-started/
MIT License
109 stars 27 forks source link

client: Adjust the keepalive interval for the load balancer #396

Closed dangeross closed 5 months ago

dangeross commented 5 months ago

Turns out the load-balancer we are using has a very short keepalive timeout, and our old value of 30 seconds was long enough for it to drop the connection. Setting this to 5 seconds on the client, and keeping 30 seconds for the signer until we have the signer notifications working again.

(cherry picked from commit 08b2accdcb59f4412e2842313f534d21a14d3e64)

cdecker commented 5 months ago

Changed the merge-base to main-0.1 since this is a backport, and that also picked up the policy change. Thanks @dangeross and @roeierez :+1: