Add missing default values

This commit is contained in:
Benoit S 2021-08-29 09:35:47 +09:00
parent 51f29b315f
commit 48764314f9

View file

@ -14,12 +14,12 @@ DRY_RUN=${DRY_RUN:-true}
TLS_EXPIRED_MAX_SEC=${TLS_EXPIRED_MAX_SEC:-1210000} TLS_EXPIRED_MAX_SEC=${TLS_EXPIRED_MAX_SEC:-1210000}
# How many seconds to wait to connect to an instance already in error in the # How many seconds to wait to connect to an instance already in error in the
# past # past
INSTANCE_LAST_CHANCE_TIMEOUT=30 INSTANCE_LAST_CHANCE_TIMEOUT=${INSTANCE_LAST_CHANCE_TIMEOUT:-30}
# How old media attachments have to be before getting removed # How old media attachments have to be before getting removed
MEDIA_REMOVE_DAYS=7 MEDIA_REMOVE_DAYS=${MEDIA_REMOVE_DAYS:-7}
CARDS_REMOVE_DAYS=15 CARDS_REMOVE_DAYS=${CARDS_REMOVE_DAYS:-15}
# How old unreferenced statuses have to be before getting removed # How old unreferenced statuses have to be before getting removed
STATUSES_REMOVE_DAYS=30 STATUSES_REMOVE_DAYS=${STATUSES_REMOVE_DAYS:-30}
# Path to logs files # Path to logs files
CULL_LOG=/tmp/$(mktemp tootpaste_XXX) CULL_LOG=/tmp/$(mktemp tootpaste_XXX)
TLS_EXPIRED_LOG=/tmp/$(mktemp tootpaste_XXX) TLS_EXPIRED_LOG=/tmp/$(mktemp tootpaste_XXX)