Remove sleep and reset jgit version

This commit is contained in:
Winston Li
2017-02-17 15:57:09 +00:00
parent ee61d72e2e
commit 5dcc4128b4
2 changed files with 2 additions and 7 deletions

View File

@@ -125,11 +125,6 @@ public class GitProjectRepo implements ProjectRepo {
proc.getErrorStream(),
StandardCharsets.UTF_8
));
try {
Thread.sleep(1000000);
} catch (InterruptedException e) {
e.printStackTrace();
}
throw new IOException("git gc error");
}
Log.info("[{}] git gc successful", projectName);