mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Remove sleep and reset jgit version
This commit is contained in:
parent
ee61d72e2e
commit
5dcc4128b4
2 changed files with 2 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue