mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -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 {
|
||||
while (!received) {
|
||||
try {
|
||||
if (!cond.await(30, TimeUnit.SECONDS)) {
|
||||
if (!cond.await(60, TimeUnit.SECONDS)) {
|
||||
throw new PostbackTimeoutException();
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
|
|
|
@ -13,7 +13,7 @@ public class PostbackTimeoutException extends SevereSnapshotPostException {
|
|||
|
||||
@Override
|
||||
public String getMessage() {
|
||||
return "timeout";
|
||||
return "timeout (60s)";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue