fix(backend): put FS_CLEAN_HRS default value to 10 days

This commit is contained in:
ShiKhu 2021-08-07 11:57:10 +08:00
parent a087418286
commit 1b2241943a
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ ENV TZ=UTC \
AWS_REGION_ASSETS=eu-central-1 \
CACHE_ASSETS=false \
ASSETS_SIZE_LIMIT=6291456 \
FS_CLEAN_HRS=12
FS_CLEAN_HRS=240
ARG SERVICE_NAME

View file

@ -22,7 +22,7 @@ func Uint64(key string) uint64 {
v := String(key)
n, err := strconv.ParseUint(v, 10, 64)
if err != nil {
log.Fatalln(key + " has a wrong value. " + err)
log.Fatalln(key + " has a wrong value. ", err)
}
return n
}
@ -31,7 +31,7 @@ func Uint16(key string) uint16 {
v := String(key)
n, err := strconv.ParseUint(v, 10, 16)
if err != nil {
log.Fatalln(key + " has a wrong value. " + err)
log.Fatalln(key + " has a wrong value. ", err)
}
return uint16(n)
}