This is an automated email from the ASF dual-hosted git repository. shuber pushed a commit to branch unomi-1.5.x in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 6d87742b63c9dc2ab3b5714931cdf49a44f0be84 Author: nlevitsky <[email protected]> AuthorDate: Thu Jun 25 11:00:55 2020 +0300 feat(org.apache.unomi.services.cfg) - add an environment variable for a configuration property (cherry picked from commit 473fb679d5365dc6ce72b9fab718b4b08129a4a8) --- package/src/main/resources/etc/custom.system.properties | 2 ++ services/src/main/resources/org.apache.unomi.services.cfg | 3 +++ 2 files changed, 5 insertions(+) diff --git a/package/src/main/resources/etc/custom.system.properties b/package/src/main/resources/etc/custom.system.properties index bd23640..87b7464 100644 --- a/package/src/main/resources/etc/custom.system.properties +++ b/package/src/main/resources/etc/custom.system.properties @@ -105,6 +105,8 @@ org.apache.unomi.profile.purge.inactiveTime=${env:UNOMI_PROFILE_PURGE_INACTIVETI org.apache.unomi.profile.purge.existTime=${env:UNOMI_PROFILE_PURGE_EXISTTIME:--1} # Purge all sessions/events that have been created for a specific number of months org.apache.unomi.event.purge.existTime=${env:UNOMI_EVENT_PURGE_EXISTTIME:-12} +# Refresh Elasticsearch after saving a profile +org.apache.unomi.profile.forceRefreshOnSave=${env:UNOMI_PROFILE_REFRESH_ON_SAVE:-false} # When performing segment updates, this controls the size of the scrolling query size used to iterate over all the # profiles that need updating org.apache.unomi.segment.update.batchSize=${env:UNOMI_SEGMENT_UPDATE_BATCHSIZE:-1000} diff --git a/services/src/main/resources/org.apache.unomi.services.cfg b/services/src/main/resources/org.apache.unomi.services.cfg index 792f990..08295cb 100644 --- a/services/src/main/resources/org.apache.unomi.services.cfg +++ b/services/src/main/resources/org.apache.unomi.services.cfg @@ -24,6 +24,9 @@ profile.purge.inactiveTime=${org.apache.unomi.profile.purge.inactiveTime:-180} # Purge profiles that have been created for a specific number of days profile.purge.existTime=${org.apache.unomi.profile.purge.existTime:--1} +# Refresh Elasticsearch after saving a profile +profile.forceRefreshOnSave=${org.apache.unomi.profile.forceRefreshOnSave:-false} + # Purge all sessions/events that have been created for a specific number of months event.purge.existTime=${org.apache.unomi.event.purge.existTime:-12}
