Skip to content
Snippets Groups Projects
Commit 1d406be6 authored by Travis Ralston's avatar Travis Ralston
Browse files

Clarify how minBytes is meant to work

parent 578150f7
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ...@@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
* Remove deprecated support for restricting uploads to certain mime types. * Remove deprecated support for restricting uploads to certain mime types.
* Remove deprecated support for `forUploads`. * Remove deprecated support for `forUploads`.
* Clarified what `uploads.minBytes` is intended to be used for.
### Fixed ### Fixed
......
...@@ -197,7 +197,10 @@ archiving: ...@@ -197,7 +197,10 @@ archiving:
uploads: uploads:
maxBytes: 104857600 # 100MB default, 0 to disable maxBytes: 104857600 # 100MB default, 0 to disable
# The minimum number of bytes to let people upload # The minimum number of bytes to let people upload. This is recommended to be non-zero to
# ensure that the "cost" of running the media repo is worthwhile - small file uploads tend
# to waste more CPU and database resources than small files, thus a default of 100 bytes
# is applied here as an approximate break-even point.
minBytes: 100 # 100 bytes by default minBytes: 100 # 100 bytes by default
# The number of bytes to claim as the maximum size for uploads for the limits API. If this # The number of bytes to claim as the maximum size for uploads for the limits API. If this
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment