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
committermultiple creatures <dev@multiple-creature.party>2019-11-19 16:09:30 -0600
commit4c68731adf3a5027dc715f2f58dbdce8f6736f05 (patch)
tree6ca54e8c5123cdb9c71927bd217f24bc2131b9b1
parentfde6aa79220a75ae428c02aa72ade5e106269ab1 (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.sample17
1 files changed, 4 insertions, 13 deletions
diff --git a/.env.production.sample b/.env.production.sample
index b82be25d3..3f67a670c 100644
--- a/.env.production.sample
+++ b/.env.production.sample
@@ -167,19 +167,10 @@ STREAMING_CLUSTER_NUM=1
 # MAX_DISPLAY_NAME_CHARS=30
 
 # Maximum image and video upload sizes
-# Units are in megabytes
-# MAX_SIZE_LIMIT=66
-
-# Maximum gif size limit
-# Units are in kilobytes
-# MAX_GIF_SIZE=333
-
-# Maximum length of audio uploads in seconds
-# MAX_AUDIO_LENGTH=60
-
-# Maximum number of search results
-# Only really matters if elasticsearch is enabled
-# MAX_SEARCH_RESULTS=100
+# Units are in bytes
+# 1024 bytes equals 1 megabyte
+# MAX_IMAGE_SIZE=8192
+# MAX_VIDEO_SIZE=40960
 
 # LDAP authentication (optional)
 # LDAP_ENABLED=true