From: Lady Lumb <42786600+LadyLumb@users.noreply.github.com> Date: Sun, 2 Jun 2019 10:14:06 +0000 (-0700) Subject: Correctly documented max image and video vars X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=a7b4e7efdd4849e1135fda585655eb9d2d01d60f;p=mastodon.git Correctly documented max image and video vars Added MAX_IMAGE_SIZE and MAX_VIDEO_SIZE and documented their usage. --- diff --git a/.env.production.sample b/.env.production.sample index 25ab1b9de..db5fa0853 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