Change push timeout to three minutes

This commit is contained in:
Shane Kilkelly 2018-12-11 09:24:09 +00:00
parent 002d862389
commit c435eccc43
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -13,7 +13,7 @@ public class PostbackTimeoutException extends SevereSnapshotPostException {
@Override
public String getMessage() {
return "timeout (60s)";
return "timeout";
}
@Override