mirror of
https://github.com/retoaccess1/haveno-reto.git
synced 2024-11-10 05:03:35 +01:00
decrease trade and offer manager shut down timeout to 60s
This commit is contained in:
parent
eb323f6d65
commit
64aa052d83
@ -151,7 +151,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
|||||||
|
|
||||||
// poll key images of signed offers
|
// poll key images of signed offers
|
||||||
private XmrKeyImagePoller signedOfferKeyImagePoller;
|
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_LOCAL = 20000; // 20 seconds
|
||||||
private static final long KEY_IMAGE_REFRESH_PERIOD_MS_REMOTE = 300000; // 5 minutes
|
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 {
|
public abstract class Trade implements Tradable, Model {
|
||||||
|
|
||||||
private static final String MONERO_TRADE_WALLET_PREFIX = "xmr_trade_";
|
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 static final long DELETE_BACKUPS_AFTER_NUM_BLOCKS = 3600; // ~5 days
|
||||||
private final Object walletLock = new Object();
|
private final Object walletLock = new Object();
|
||||||
private final Object pollLock = new Object();
|
private final Object pollLock = new Object();
|
||||||
|
Loading…
Reference in New Issue
Block a user