From 59a57d3d2884b6d738a9a4d63ac3285f2a08dbff Mon Sep 17 00:00:00 2001 From: CalDescent Date: Tue, 23 Nov 2021 18:47:27 +0000 Subject: [PATCH] Increased frequency of automatic repository maintenance attempts repositoryMaintenanceMinInterval reduced from 7 to 3 days repositoryMaintenanceMaxInterval reduced from 30 to 14 days --- src/main/java/org/qortal/settings/Settings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/qortal/settings/Settings.java b/src/main/java/org/qortal/settings/Settings.java index a2a83cc9..9bd01bb5 100644 --- a/src/main/java/org/qortal/settings/Settings.java +++ b/src/main/java/org/qortal/settings/Settings.java @@ -91,9 +91,9 @@ public class Settings { /** Whether to show a notification when we backup repository. */ private boolean showBackupNotification = false; /** Minimum time between repository maintenance attempts (ms) */ - private long repositoryMaintenanceMinInterval = 7 * 24 * 60 * 60 * 1000L; // 7 days (ms) default + private long repositoryMaintenanceMinInterval = 3 * 24 * 60 * 60 * 1000L; // 3 days (ms) default /** Maximum time between repository maintenance attempts (ms) (0 if disabled). */ - private long repositoryMaintenanceMaxInterval = 30 * 24 * 60 * 60 * 1000L; // 30 days (ms) default + private long repositoryMaintenanceMaxInterval = 14 * 24 * 60 * 60 * 1000L; // 14 days (ms) default /** Whether to show a notification when we run scheduled maintenance. */ private boolean showMaintenanceNotification = false; /** How long between repository checkpoints (ms). */