summaryrefslogtreecommitdiffstats
path: root/policy-management/src
diff options
context:
space:
mode:
Diffstat (limited to 'policy-management/src')
-rw-r--r--policy-management/src/main/server/config/IntegrityMonitor.properties4
-rw-r--r--policy-management/src/main/server/config/droolsPersistence.properties6
2 files changed, 9 insertions, 1 deletions
diff --git a/policy-management/src/main/server/config/IntegrityMonitor.properties b/policy-management/src/main/server/config/IntegrityMonitor.properties
index ee7d5eb0..529abcda 100644
--- a/policy-management/src/main/server/config/IntegrityMonitor.properties
+++ b/policy-management/src/main/server/config/IntegrityMonitor.properties
@@ -83,3 +83,7 @@ db.audit.is.active=false
# Flag to control the execution of the subsystemTest for the Nexus Maven repository
repository.audit.is.active=false
repository.audit.ignore.errors=true
+
+# Run the state audit every 60 seconds (60000 ms). NOTE! It will only run on nodes that are providing service.
+# A value of <= 0 will turn off the state audit.
+state_audit_interval_ms=60000
diff --git a/policy-management/src/main/server/config/droolsPersistence.properties b/policy-management/src/main/server/config/droolsPersistence.properties
index 60793cdc..2fc6dc8b 100644
--- a/policy-management/src/main/server/config/droolsPersistence.properties
+++ b/policy-management/src/main/server/config/droolsPersistence.properties
@@ -46,6 +46,10 @@ javax.persistence.jdbc.password = ${{JDBC_PASSWORD}}
hibernate.dataSource=org.mariadb.jdbc.MySQLDataSource
+# The number of seconds that persistence data remains valid after a
+# DroolsPDP shutdown or side switch -- older data is removed
+# (if this field is not specified or <= 0, the time is indefinite)
+persistence.sessioninfo.timeout=900
+
# For testing purposes, it may be convenient to disable persistence
persistenceDisabled=false
-