From 3ee806e4debf9c8dcd7e7887d27c63350b4db00b 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/config.js b/server/config.js index 21a46c9e..a1ca1bed 100644 --- a/server/config.js +++ b/server/config.js @@ -26,7 +26,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: { @@ -41,7 +41,7 @@ const conf = convict({ }, anon_max_expire_seconds: { format: Number, - default: 86400, + default: 432000, env: 'ANON_MAX_EXPIRE_SECONDS' }, download_counts: { @@ -56,7 +56,7 @@ const conf = convict({ }, anon_max_downloads: { format: Number, - default: 5, + default: 100, env: 'ANON_MAX_DOWNLOADS' }, max_files_per_archive: {