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

@ -81,12 +81,12 @@
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>4.6.0.201612231935-r</version>
<version>4.4.1.201607150455-r</version>
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit.http.server</artifactId>
<version>4.6.0.201612231935-r</version>
<version>4.4.1.201607150455-r</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>

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);