mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 09:23:33 -05:00
Increase postback timeout to 60s
This commit is contained in:
parent
e9ffcfe19e
commit
9a0f18e516
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(30, TimeUnit.SECONDS)) {
|
if (!cond.await(60, 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";
|
return "timeout (60s)";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue