mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 15:10:44 +01:00
Move stopPeriodicRefreshOffersTimer before processListForRepublishOffers
The periodicRefreshOffersTimer gets started at offer publishing. Before the stopPeriodicRefreshOffersTimer got overwritten by the start in offer publishing so it did not had any effect beside that we restarted it. Now we process offer publishing without delay and a stop after the call would stop the refresh timer.
This commit is contained in:
parent
83e620d462
commit
c5d0fa789b
1 changed files with 2 additions and 2 deletions
|
@ -880,10 +880,10 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
|||
return;
|
||||
}
|
||||
|
||||
stopPeriodicRefreshOffersTimer();
|
||||
|
||||
List<OpenOffer> openOffersList = new ArrayList<>(openOffers.getList());
|
||||
processListForRepublishOffers(openOffersList);
|
||||
|
||||
stopPeriodicRefreshOffersTimer();
|
||||
}
|
||||
|
||||
private void processListForRepublishOffers(List<OpenOffer> list) {
|
||||
|
|
Loading…
Add table
Reference in a new issue