mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
Change push timeout to three minutes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user