Skip to content

Commit

Permalink
Merge pull request #1 from emonty/master
Browse files Browse the repository at this point in the history
[FIXED JENKINS-12696]

Looks good to me.
  • Loading branch information
kohsuke committed Feb 9, 2012
2 parents b862ef3 + d2a447a commit 0681284
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -138,6 +138,11 @@ private Client getClientObject(URLTriggerEntry entry, XTriggerLog log) {
if (isAuthBasic(entry)) {
addBasicAuth(entry, log, client);
}
/* Set a connect and read timeout. If this hangs, it can actually
take down all of the jenkins schedule events.
This is 5 minutes expressed as milliseconds. */
client.setConnectTimeout(300000);
client.setReadTimeout(300000);
return client;
}

Expand Down

0 comments on commit 0681284

Please sign in to comment.