Skip to content

Commit

Permalink
[FIXED JENKINS-11809] Time out on pulls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Glick committed Jan 4, 2012
1 parent 3b54094 commit 6425cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/mercurial/Cache.java
Expand Up @@ -94,7 +94,7 @@ private Cache(String remote, String hash) {
HgExe masterHg = new HgExe(config,masterLauncher,master,listener,new EnvVars());

if (masterCache.isDirectory()) {
if (MercurialSCM.joinWithPossibleTimeout(masterHg.pull().pwd(masterCache), fromPolling, listener) != 0) {
if (MercurialSCM.joinWithPossibleTimeout(masterHg.pull().pwd(masterCache), true, listener) != 0) {
listener.error("Failed to update " + masterCache);
return null;
}
Expand Down

0 comments on commit 6425cfd

Please sign in to comment.