mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
Remove sleep and reset jgit version
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user