mirror of
https://github.com/shizunge/endlessh-go.git
synced 2026-06-23 04:10:08 +00:00
cf6fbb5f41
Adapt keepalive to the configured interval: for short intervals (e.g. 10s) detection is faster, for long intervals (e.g. 10min) it caps at 30s as a safety net. Add comments explaining what problem keepalive solves and its detection time limitation.