From 463e51a184cef36f20dc6d08627700d72d613381 Mon Sep 17 00:00:00 2001 From: woodser Date: Tue, 2 May 2023 17:29:52 -0400 Subject: [PATCH] reduce idle refresh period to 28 minutes to avoid 30 minute timeout --- core/src/main/java/haveno/core/trade/Trade.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/haveno/core/trade/Trade.java b/core/src/main/java/haveno/core/trade/Trade.java index ccfd0d5cd3..fb2c563e26 100644 --- a/core/src/main/java/haveno/core/trade/Trade.java +++ b/core/src/main/java/haveno/core/trade/Trade.java @@ -391,7 +391,7 @@ public abstract class Trade implements Tradable, Model { transient private Long syncNormalStartTime; 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) // Mutable