mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-22 08:29:16 -04: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…
x
Reference in New Issue
Block a user