summaryrefslogtreecommitdiffstats
path: root/policy-management/src/main/server/config/droolsPersistence.properties
diff options
context:
space:
mode:
Diffstat (limited to 'policy-management/src/main/server/config/droolsPersistence.properties')
-rw-r--r--policy-management/src/main/server/config/droolsPersistence.properties6
1 files changed, 5 insertions, 1 deletions
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
-