mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-11-16 15:58:08 +00:00
decrease trade and offer manager shut down timeout to 60s
This commit is contained in:
parent
eb323f6d65
commit
64aa052d83
2 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
|||
|
||||
// poll key images of signed offers
|
||||
private XmrKeyImagePoller signedOfferKeyImagePoller;
|
||||
private static final long SHUTDOWN_TIMEOUT_MS = 90000;
|
||||
private static final long SHUTDOWN_TIMEOUT_MS = 60000;
|
||||
private static final long KEY_IMAGE_REFRESH_PERIOD_MS_LOCAL = 20000; // 20 seconds
|
||||
private static final long KEY_IMAGE_REFRESH_PERIOD_MS_REMOTE = 300000; // 5 minutes
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
|
|||
public abstract class Trade implements Tradable, Model {
|
||||
|
||||
private static final String MONERO_TRADE_WALLET_PREFIX = "xmr_trade_";
|
||||
private static final long SHUTDOWN_TIMEOUT_MS = 90000;
|
||||
private static final long SHUTDOWN_TIMEOUT_MS = 60000;
|
||||
private static final long DELETE_BACKUPS_AFTER_NUM_BLOCKS = 3600; // ~5 days
|
||||
private final Object walletLock = new Object();
|
||||
private final Object pollLock = new Object();
|
||||
|
|
Loading…
Reference in a new issue