#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Purge job interval (in days)
profile.purge.interval=${org.apache.unomi.profile.purge.interval:-1}

# Purge profiles that have been inactive for a specific number of days
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}

# When performing segment updates, this controls the size of the scrolling query size used to iterate over all the
# profiles that need updating
segment.update.batchSize=${org.apache.unomi.segment.update.batchSize:-1000}

# The interval in milliseconds to use to reload the definitions (condition types and action types)
definitions.refresh.interval=${org.apache.unomi.definitions.refresh.interval:-10000}

# The interval in milliseconds to use to reload the property types
properties.refresh.interval=${org.apache.unomi.properties.refresh.interval:-10000}

# The interval in milliseconds to use to reload the segments and scoring plans
segment.refresh.interval=${org.apache.unomi.segment.refresh.interval:-1000}

# The interval in days to use to recalculate segments/scoring plans on profile
segment.recalculate.period=${org.apache.unomi.segment.recalculate.period:-1}

# The interval in milliseconds to use to reload the rules
rules.refresh.interval=${org.apache.unomi.rules.refresh.interval:-1000}

# The interval in milliseconds to use to reload the rules statistics
rules.statistics.refresh.interval=${org.apache.unomi.rules.statistics.refresh.interval:-10000}
