You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FIXED JENKINS-38539] Turn on SO_KEEPALIVE and provide CLI option to turn it off again (#110)
* [FIXED JENKINS-38539] Turn on SO_KEEPALIVE and provide CLI option to turn it off again
- Most OSes have a default SO_KEEPALIVE of 2 hours, and perform keepalive without generating any significant traffic
The master side of the connection already has SO_KEEPALIVE enabled, this just allows both OSes to keep their own
guidance and therefore assist when tuning the agent side is more appropriate than changing the kernel parameters on
the master side (as the master is handling the HTTP requests of users)
- Would probably be perfectly safe to not even expose the -noKeepAlive option as the SO_KEEPALIVE should be invisible
But there may be users that have the requirement to disable, so safer to provide the option
- Change was developed against the stable-2.x branch
* [JENKINS-38541] Tweak help text for CLI -noKeepAlive option
0 commit comments