From 26329709c14c51204c0a88dcc118498211b87665 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sat, 21 Jan 2023 18:26:53 +0100 Subject: [PATCH] bump maxLength, reduce max-age for statics to 3s --- Dockerfile | 4 ++-- config.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 105f375..26bb102 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,8 +20,8 @@ ENV LOGGING_LEVEL=verbose \ ENV HOST=0.0.0.0\ PORT=7777\ KEY_LENGTH=10\ - MAX_LENGTH=400000\ - STATIC_MAX_AGE=86400 + MAX_LENGTH=10000000\ + STATIC_MAX_AGE=3 ENV KEYGENERATOR_TYPE=phonetic \ KEYGENERATOR_KEYSPACE="" diff --git a/config.json b/config.json index d754c19..ba5ef2f 100644 --- a/config.json +++ b/config.json @@ -2,8 +2,8 @@ "host": "0.0.0.0", "port": 7777, "keyLength": 10, - "maxLength": 400000, - "staticMaxAge": 86400, + "maxLength": 4000000, + "staticMaxAge": 3, "recompressStaticAssets": true, "logging": [ {