mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Change push timeout to three minutes
This commit is contained in:
parent
002d862389
commit
c435eccc43
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ public class PostbackPromise {
|
||||||
try {
|
try {
|
||||||
while (!received) {
|
while (!received) {
|
||||||
try {
|
try {
|
||||||
if (!cond.await(60, TimeUnit.SECONDS)) {
|
if (!cond.await(60 * 3, TimeUnit.SECONDS)) {
|
||||||
throw new PostbackTimeoutException();
|
throw new PostbackTimeoutException();
|
||||||
}
|
}
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
|
|
|
@ -13,7 +13,7 @@ public class PostbackTimeoutException extends SevereSnapshotPostException {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getMessage() {
|
public String getMessage() {
|
||||||
return "timeout (60s)";
|
return "timeout";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue