mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Fix bug with using runPeriodically instead of runAfter for TradeStatistics
This commit is contained in:
parent
d2df11c76b
commit
d3e63a4470
2 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ public class TradeManager {
|
|||
}
|
||||
|
||||
// We start later to have better connectivity to the network
|
||||
UserThread.runPeriodically(() -> publishTradeStatistics(tradesForStatistics),
|
||||
UserThread.runAfter(() -> publishTradeStatistics(tradesForStatistics),
|
||||
30, TimeUnit.SECONDS);
|
||||
|
||||
pendingTradesInitialized.set(true);
|
||||
|
|
|
@ -505,7 +505,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
|||
// we delay to avoid reaching throttle limits
|
||||
// roughly 4 offers per second
|
||||
|
||||
long delay = 150;
|
||||
long delay = 300;
|
||||
final long minDelay = (i + 1) * delay;
|
||||
final long maxDelay = (i + 2) * delay;
|
||||
final OpenOffer openOffer = openOffersList.get(i);
|
||||
|
|
Loading…
Add table
Reference in a new issue