@@ -35,7 +35,7 @@ public class PostbackPromise {
try {
while (!received) {
- 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";