about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLady Lumb <42786600+LadyLumb@users.noreply.github.com>2019-06-02 03:14:06 -0700
committerThibG <thib@sitedethib.com>2019-06-02 14:38:13 +0200
commita7b4e7efdd4849e1135fda585655eb9d2d01d60f (patch)
tree27446de830142401c14dd2944e7ee59d05f7b0a4
parentf9514b08f2ec486df23e2cdb400a1c9c3a11e549 (diff)
Correctly documented max image and video vars
Added MAX_IMAGE_SIZE and MAX_VIDEO_SIZE and documented their usage.
-rw-r--r--.env.production.sample6
1 files changed, 6 insertions, 0 deletions
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