Use tile expiration settings from env if set, or default values as before.

This commit is contained in:
Jens Glad Balchen 2022-07-21 00:18:25 +02:00
parent afd62f33a0
commit 4a7410ab9e

View File

@ -56,10 +56,10 @@ RUNLOG=$LOG_DIR/run.log
# Here we expire (but don't immediately rerender) tiles between zoom levels # Here we expire (but don't immediately rerender) tiles between zoom levels
# 13 and 18 and delete between 19 and 20. # 13 and 18 and delete between 19 and 20.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
EXPIRY_MINZOOM=13 EXPIRY_MINZOOM=${EXPIRY_MINZOOM:="13}
EXPIRY_TOUCHFROM=13 EXPIRY_TOUCHFROM=${EXPIRY_TOUCHFROM:="13"}
EXPIRY_DELETEFROM=19 EXPIRY_DELETEFROM=${EXPIRY_DELETEFROM:="19"}
EXPIRY_MAXZOOM=20 EXPIRY_MAXZOOM=${EXPIRY_MAXZOOM:="20"}
REPLICATION_URL=${REPLICATION_URL:="https://planet.openstreetmap.org/replication/hour/"} REPLICATION_URL=${REPLICATION_URL:="https://planet.openstreetmap.org/replication/hour/"}