mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-22 08:29:16 -04:00
WIP (testing)
This commit is contained in:
parent
78a9662220
commit
3efca4101a
@ -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…
x
Reference in New Issue
Block a user