1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-11 07:15:13 +00:00

Change push timeout to three minutes

This commit is contained in:
Shane Kilkelly 2018-12-11 09:24:09 +00:00
parent 002d862389
commit c435eccc43
2 changed files with 2 additions and 2 deletions
services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/snapshot/push

View file

@ -35,7 +35,7 @@ public class PostbackPromise {
try {
while (!received) {
try {
if (!cond.await(60, TimeUnit.SECONDS)) {
if (!cond.await(60 * 3, TimeUnit.SECONDS)) {
throw new PostbackTimeoutException();
}
} catch (InterruptedException e) {

View file

@ -13,7 +13,7 @@ public class PostbackTimeoutException extends SevereSnapshotPostException {
@Override
public String getMessage() {
return "timeout (60s)";
return "timeout";
}
@Override