From 13a470ecc49926ac413ac84070b9deb76eae64b4 Mon Sep 17 00:00:00 2001 From: Christian Pierre MOMON Date: Thu, 30 Jan 2020 17:20:23 +0100 Subject: [PATCH] Extend max values (#4229). --- server/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/config.js b/server/config.js index 9d16d46b..28500359 100644 --- a/server/config.js +++ b/server/config.js @@ -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: {