Extend max values (#4229).

This commit is contained in:
Christian P. MOMON 2020-01-30 17:20:23 +01:00 committed by Romain Hv
parent 88cf01adee
commit 975011baba

View File

@ -46,7 +46,7 @@ const conf = convict({
},
expire_times_seconds: {
format: 'positive-int-array',
default: [300, 3600, 86400, 604800],
default: [300, 3600, 86400, 432000, 604800],
env: 'EXPIRE_TIMES_SECONDS'
},
default_expire_seconds: {
@ -56,7 +56,7 @@ const conf = convict({
},
max_expire_seconds: {
format: Number,
default: 86400 * 7,
default: 432000,
env: 'MAX_EXPIRE_SECONDS'
},
download_counts: {