From a7b4e7efdd4849e1135fda585655eb9d2d01d60f Mon Sep 17 00:00:00 2001 From: Lady Lumb <42786600+LadyLumb@users.noreply.github.com> Date: Sun, 2 Jun 2019 03:14:06 -0700 Subject: [PATCH] Correctly documented max image and video vars Added MAX_IMAGE_SIZE and MAX_VIDEO_SIZE and documented their usage. --- .env.production.sample | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.env.production.sample b/.env.production.sample index 25ab1b9de9..db5fa08530 100644 --- a/.env.production.sample +++ b/.env.production.sample @@ -160,6 +160,12 @@ STREAMING_CLUSTER_NUM=1 # Maximum number of pinned posts # MAX_PINNED_TOOTS=5 +# Maximum image and video upload sizes +# Units are in bytes +# 1024 bytes equals 1 megabyte +# MAX_IMAGE_SIZE=8192 +# MAX_VIDEO_SIZE=40960 + # LDAP authentication (optional) # LDAP_ENABLED=true # LDAP_HOST=localhost