mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Add retry after republish offer failure
This commit is contained in:
parent
cec1e99e98
commit
aab64c6f84
@ -225,6 +225,9 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
||||
errorMessage -> {
|
||||
//TODO handle with retry
|
||||
log.error("Add offer to P2P network failed. " + errorMessage);
|
||||
stopRepublishOffersTimer();
|
||||
republishOffersTimer = UserThread.runAfter(OpenOfferManager.this::republishOffers,
|
||||
RETRY_DELAY_AFTER_ALL_CON_LOST_SEC);
|
||||
});
|
||||
openOffer.setStorage(openOffersStorage);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user