...
Code Block |
---|
services: myservice: sysctls: - net.ipv4.tcp_keepalive_time=274 |
curl
The command line tool curl
has built-in TCP keepalive support that by default starts sending keepalive probes after 60 seconds, for details see https://curl.se/docs/manpage.html#--keepalive-time