Increase postback timeout to 60s

This commit is contained in:
Winston Li 2016-09-19 09:34:45 +01:00
parent e9ffcfe19e
commit 9a0f18e516
2 changed files with 2 additions and 2 deletions

View file

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

View file

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