24
1
Fork 0

Extend max values (#4229).

This commit is contained in:
Christian P. MOMON 2020-01-30 17:20:23 +01:00 committed by Romain H
parent 63e19bd783
commit 15617136ad
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ const conf = convict({
},
expire_times_seconds: {
format: Array,
default: [300, 3600, 86400, 604800],
default: [300, 3600, 86400, 432000, 604800],
env: 'EXPIRE_TIMES_SECONDS'
},
default_expire_seconds: {
@ -31,7 +31,7 @@ const conf = convict({
},
anon_max_expire_seconds: {
format: Number,
default: 86400,
default: 432000,
env: 'ANON_MAX_EXPIRE_SECONDS'
},
download_counts: {
@ -46,7 +46,7 @@ const conf = convict({
},
anon_max_downloads: {
format: Number,
default: 5,
default: 100,
env: 'ANON_MAX_DOWNLOADS'
},
max_files_per_archive: {