]> cat aescling's git repositories - mastodon.git/commitdiff
Correctly documented max image and video vars
authorLady Lumb <42786600+LadyLumb@users.noreply.github.com>
Sun, 2 Jun 2019 10:14:06 +0000 (03:14 -0700)
committerThibG <thib@sitedethib.com>
Sun, 2 Jun 2019 12:38:13 +0000 (14:38 +0200)
Added MAX_IMAGE_SIZE and MAX_VIDEO_SIZE and documented their usage.

.env.production.sample

index 25ab1b9de96ae5697fe632ed7360c9b456a183d7..db5fa085309619cc4e69933befa95b8bd3649d4e 100644 (file)
@@ -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