Use tile expiration settings from env if set, or default values as be… (#296)
* Use tile expiration settings from env if set, or default values as before. * Update openstreetmap-tiles-update-expire.sh Co-authored-by: galewis2 <62433564+galewis2@users.noreply.github.com>
This commit is contained in:
parent
afd62f33a0
commit
67d127b201
@ -56,10 +56,10 @@ RUNLOG=$LOG_DIR/run.log
|
||||
# Here we expire (but don't immediately rerender) tiles between zoom levels
|
||||
# 13 and 18 and delete between 19 and 20.
|
||||
#------------------------------------------------------------------------------
|
||||
EXPIRY_MINZOOM=13
|
||||
EXPIRY_TOUCHFROM=13
|
||||
EXPIRY_DELETEFROM=19
|
||||
EXPIRY_MAXZOOM=20
|
||||
EXPIRY_MINZOOM=${EXPIRY_MINZOOM:="13"}
|
||||
EXPIRY_TOUCHFROM=${EXPIRY_TOUCHFROM:="13"}
|
||||
EXPIRY_DELETEFROM=${EXPIRY_DELETEFROM:="19"}
|
||||
EXPIRY_MAXZOOM=${EXPIRY_MAXZOOM:="20"}
|
||||
|
||||
|
||||
REPLICATION_URL=${REPLICATION_URL:="https://planet.openstreetmap.org/replication/hour/"}
|
||||
|
Loading…
Reference in New Issue
Block a user