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 {
|
||||
while (!received) {
|
||||
try {
|
||||
if (!cond.await(60, TimeUnit.SECONDS)) {
|
||||
if (!cond.await(60 * 3, TimeUnit.SECONDS)) {
|
||||
throw new PostbackTimeoutException();
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
|
|
|
@ -13,7 +13,7 @@ public class PostbackTimeoutException extends SevereSnapshotPostException {
|
|||
|
||||
@Override
|
||||
public String getMessage() {
|
||||
return "timeout (60s)";
|
||||
return "timeout";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue