From 4c68731adf3a5027dc715f2f58dbdce8f6736f05 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: Correctly documented max image and video vars Added MAX_IMAGE_SIZE and MAX_VIDEO_SIZE and documented their usage. --- .env.production.sample | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to '.env.production.sample') 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 -- cgit