New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-46659] Avoid Jetty timeouts by sending pings #3011
Conversation
…ket every 10s while a CLI command is running.
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance it collides with stdin.write(c);
, e.g. during long send operations like file parameter upload?
@oleg-nenashev should be safe. The (non-delegating) |
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐝
@reviewbybees done |
I am going to merge it to the next weekly if nobody votes against |
Per JENKINS-59267 the timeout seems to be 5 seconds in recent Jenkins/Winstone/Jetty, so the 10 second interval is too great. How expensive is this? Would going with 3-4 seconds solve this without introducing a ton of load? |
Sure, that would be fine I think. |
See JENKINS-46659.
Proposed changelog entries
Desired reviewers
@reviewbybees