mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-16 13:32:27 -04:00
WIP (testing)
This commit is contained in:
parent
78a9662220
commit
3efca4101a
2 changed files with 3 additions and 1 deletions
|
@ -183,6 +183,7 @@ public class OpenOfferManager {
|
|||
// We have been idle for at least 5 sec.
|
||||
//republishOffers();
|
||||
// run again after 5 sec as it might be that the app needs a bit for getting all re-animated again
|
||||
allowRefreshOffers = false;
|
||||
if (republishOffersTimer == null)
|
||||
republishOffersTimer = UserThread.runAfter(OpenOfferManager.this::republishOffers, 5);
|
||||
}
|
||||
|
@ -204,6 +205,7 @@ public class OpenOfferManager {
|
|||
//republishOffers();
|
||||
// run again after 5 sec as it might be that the app needs a bit for getting all re-animated again
|
||||
log.error("We got re-connected again after loss of all connection. We re-publish our offers now.");
|
||||
allowRefreshOffers = false;
|
||||
republishOffersTimer = UserThread.runAfter(OpenOfferManager.this::republishOffers, 5);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ public class PeerManager implements ConnectionListener, MessageListener {
|
|||
}
|
||||
|
||||
static {
|
||||
setMaxConnections(1);
|
||||
setMaxConnections(12);
|
||||
}
|
||||
|
||||
private static final int MAX_REPORTED_PEERS = 1000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue