Skip to content
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-46934] Avoid blocking forever due to log rotation #70

Merged
merged 1 commit into from
Sep 19, 2017

Conversation

jglick
Copy link
Member

@jglick jglick commented Sep 18, 2017

JENKINS-46934

  • Call logRotate asynchronously.
  • Impose a timeout on Owner.get.
  • While waiting for Owner.get, record the build in the thread name.

@reviewbybees

· Call logRotate asynchronously.
· Impose a timeout on Owner.get.
· While waiting for Owner.get, record the build in the thread name.
Copy link
Member

@abayer abayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid changes. I particularly like the timeout on log rotation - since that'll end up getting re-run the next time log rotation gets triggered anyway, timing out on that makes a ton of sense.

@jglick
Copy link
Member Author

jglick commented Sep 18, 2017

There is no timeout on log rotation here. Perhaps you misread the patch.

@ghost
Copy link

ghost commented Sep 18, 2017

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.

@abayer
Copy link
Member

abayer commented Sep 18, 2017

@jglick Durr. Mornings, man.

@jglick
Copy link
Member Author

jglick commented Sep 19, 2017

At any rate I suppose this is @reviewbybees done unless you change your mind.

@abayer
Copy link
Member

abayer commented Sep 19, 2017

Yup, was waiting to see if anyone else had any input. But they don't, so merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants