mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-27 08:10:45 -04:00
increase timeout
This commit is contained in:
parent
e36c35326a
commit
3ea39bef32
1 changed files with 2 additions and 4 deletions
|
@ -36,7 +36,7 @@ import static io.bitsquare.util.Validator.nonEmptyStringOf;
|
||||||
public class OfferAvailabilityProtocol {
|
public class OfferAvailabilityProtocol {
|
||||||
private static final Logger log = LoggerFactory.getLogger(OfferAvailabilityProtocol.class);
|
private static final Logger log = LoggerFactory.getLogger(OfferAvailabilityProtocol.class);
|
||||||
|
|
||||||
private static final long TIMEOUT_SEC = 10;
|
private static final long TIMEOUT_SEC = 20;
|
||||||
|
|
||||||
private final OfferAvailabilityModel model;
|
private final OfferAvailabilityModel model;
|
||||||
private final ResultHandler resultHandler;
|
private final ResultHandler resultHandler;
|
||||||
|
@ -88,9 +88,7 @@ public class OfferAvailabilityProtocol {
|
||||||
model.setPeerNodeAddress(model.offer.getOffererNodeAddress());
|
model.setPeerNodeAddress(model.offer.getOffererNodeAddress());
|
||||||
|
|
||||||
taskRunner = new TaskRunner<>(model,
|
taskRunner = new TaskRunner<>(model,
|
||||||
() -> {
|
() -> log.debug("sequence at sendOfferAvailabilityRequest completed"),
|
||||||
log.debug("sequence at sendOfferAvailabilityRequest completed");
|
|
||||||
},
|
|
||||||
(errorMessage) -> {
|
(errorMessage) -> {
|
||||||
log.error(errorMessage);
|
log.error(errorMessage);
|
||||||
stopTimeout();
|
stopTimeout();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue