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

Added a 10 second HTTPClient connection timeout #74

Closed
wants to merge 1 commit into from

Conversation

warmfusion
Copy link

#62 - Added a 10 second hardcoded connection and transfer timeout to the HTTP Client connection so that it doesn't stall builds in the event of a network issue.

…meout to the HTTP Client connection so that it doesn't stall builds in the event of a network issue.
@michaelneale
Copy link

@jlewallen ping - could this be merged downstream and released? hipchat of late has had stability problems and we have had totally wedged builds due to this plugin.

I also note that there seem to be 3 locations issues are reported: here, the jenkinsci fork and even Jira - which one is official?

@christ66
Copy link

@warmfusion Could you move this PR to https://github.com/jenkinsci/hipchat-plugin.

/**
* HTTP Connection timeout when making calls to HipChat
*/
public static final Integer CONNECTION_TIMEOUT = 10000;
Copy link

Choose a reason for hiding this comment

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

Could you rename it to DEFAULT_TIMEOUT instead? The reasoning being that the same value is being used for both connection and read timeout.

@warmfusion warmfusion closed this Jul 6, 2016
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.

4 participants