mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Reset periodic health monitor writes to one hour
This commit is contained in:
parent
93f865a1c4
commit
ea9f59914f
@ -65,7 +65,7 @@ public final class EnterpriseHealthMonitor implements PropertyChangeListener {
|
|||||||
|
|
||||||
private final static Logger logger = Logger.getLogger(EnterpriseHealthMonitor.class.getName());
|
private final static Logger logger = Logger.getLogger(EnterpriseHealthMonitor.class.getName());
|
||||||
private final static String DATABASE_NAME = "EnterpriseHealthMonitor";
|
private final static String DATABASE_NAME = "EnterpriseHealthMonitor";
|
||||||
private final static long DATABASE_WRITE_INTERVAL = 1; // Minutes
|
private final static long DATABASE_WRITE_INTERVAL = 60; // Minutes
|
||||||
public static final CaseDbSchemaVersionNumber CURRENT_DB_SCHEMA_VERSION
|
public static final CaseDbSchemaVersionNumber CURRENT_DB_SCHEMA_VERSION
|
||||||
= new CaseDbSchemaVersionNumber(1, 1);
|
= new CaseDbSchemaVersionNumber(1, 1);
|
||||||
|
|
||||||
@ -962,7 +962,8 @@ public final class EnterpriseHealthMonitor implements PropertyChangeListener {
|
|||||||
throw new HealthMonitorException("Error getting database lock");
|
throw new HealthMonitorException("Error getting database lock");
|
||||||
}
|
}
|
||||||
|
|
||||||
String[] metricNames = {"Disk Reads: Hash calculation", "Database: getImages query", "Solr: Index chunk", "Solr: Connectivity check"}; // NON-NLS
|
String[] metricNames = {"Disk Reads: Hash calculation", "Database: getImages query", "Solr: Index chunk", "Solr: Connectivity check",
|
||||||
|
"Correlation Engine: Notable artifact query", "Correlation Engine: Bulk insert"}; // NON-NLS
|
||||||
|
|
||||||
Random rand = new Random();
|
Random rand = new Random();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user