mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 04:29:22 +00:00
reduce idle refresh period to 28 minutes to avoid 30 minute timeout
This commit is contained in:
parent
d1d39e3482
commit
463e51a184
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ public abstract class Trade implements Tradable, Model {
|
||||||
transient private Long syncNormalStartTime;
|
transient private Long syncNormalStartTime;
|
||||||
|
|
||||||
public static final long DEFER_PUBLISH_MS = 25000; // 25 seconds
|
public static final long DEFER_PUBLISH_MS = 25000; // 25 seconds
|
||||||
private static final long IDLE_SYNC_PERIOD_MS = 3600000; // 1 hour
|
private static final long IDLE_SYNC_PERIOD_MS = 1680000; // 28 minutes (monero's default connection timeout is 30 minutes on a local connection, so beyond this the wallets will disconnect)
|
||||||
private static final long MAX_REPROCESS_DELAY_SECONDS = 7200; // max delay to reprocess messages (once per 2 hours)
|
private static final long MAX_REPROCESS_DELAY_SECONDS = 7200; // max delay to reprocess messages (once per 2 hours)
|
||||||
|
|
||||||
// Mutable
|
// Mutable
|
||||||
|
|
Loading…
Reference in a new issue