uploads: Add comment explaining how to disable uploads.

Added a comment to explain how to disable file uploads, and what other
changes that will cause.
This commit is contained in:
vinitS101 2019-05-24 14:19:52 +05:30 committed by Tim Abbott
parent 3b7f3f1887
commit 4c8f9f07d7
1 changed files with 2 additions and 0 deletions

View File

@ -298,6 +298,8 @@ LOCAL_UPLOADS_DIR = "/home/zulip/uploads"
# Maximum allowed size of uploaded files, in megabytes. DO NOT SET # Maximum allowed size of uploaded files, in megabytes. DO NOT SET
# ABOVE 80MB. The file upload implementation doesn't support chunked # ABOVE 80MB. The file upload implementation doesn't support chunked
# uploads, so browsers will crash if you try uploading larger files. # uploads, so browsers will crash if you try uploading larger files.
# Set MAX_FILE_UPLOAD_SIZE to 0 to disable file uploads completely
# (including hiding upload-related options from UI).
MAX_FILE_UPLOAD_SIZE = 25 MAX_FILE_UPLOAD_SIZE = 25
# Controls whether name changes are completely disabled for this # Controls whether name changes are completely disabled for this