forked from Qortal/qortal
Increased frequency of automatic repository maintenance attempts
repositoryMaintenanceMinInterval reduced from 7 to 3 days repositoryMaintenanceMaxInterval reduced from 30 to 14 days
This commit is contained in:
parent
cce95e09de
commit
59a57d3d28
@ -91,9 +91,9 @@ public class Settings {
|
|||||||
/** Whether to show a notification when we backup repository. */
|
/** Whether to show a notification when we backup repository. */
|
||||||
private boolean showBackupNotification = false;
|
private boolean showBackupNotification = false;
|
||||||
/** Minimum time between repository maintenance attempts (ms) */
|
/** 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). */
|
/** 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. */
|
/** Whether to show a notification when we run scheduled maintenance. */
|
||||||
private boolean showMaintenanceNotification = false;
|
private boolean showMaintenanceNotification = false;
|
||||||
/** How long between repository checkpoints (ms). */
|
/** How long between repository checkpoints (ms). */
|
||||||
|
Loading…
Reference in New Issue
Block a user