Extend max values (#4229).
This commit is contained in:
parent
a4ccd87867
commit
32e5a2cd4c
@ -49,7 +49,7 @@ const conf = convict({
|
|||||||
},
|
},
|
||||||
expire_times_seconds: {
|
expire_times_seconds: {
|
||||||
format: 'positive-int-array',
|
format: 'positive-int-array',
|
||||||
default: [300, 3600, 86400, 604800],
|
default: [300, 3600, 86400, 432000, 604800],
|
||||||
env: 'EXPIRE_TIMES_SECONDS'
|
env: 'EXPIRE_TIMES_SECONDS'
|
||||||
},
|
},
|
||||||
default_expire_seconds: {
|
default_expire_seconds: {
|
||||||
@ -59,7 +59,7 @@ const conf = convict({
|
|||||||
},
|
},
|
||||||
max_expire_seconds: {
|
max_expire_seconds: {
|
||||||
format: Number,
|
format: Number,
|
||||||
default: 86400 * 7,
|
default: 432000,
|
||||||
env: 'MAX_EXPIRE_SECONDS'
|
env: 'MAX_EXPIRE_SECONDS'
|
||||||
},
|
},
|
||||||
download_counts: {
|
download_counts: {
|
||||||
|
Loading…
Reference in New Issue
Block a user