mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Make the documentation more clear that storage.mysql-engine.max-size is measured in bytes
Summary: Fixes T12001. I think we're consistent about using bytes everywhere, but users won't necessarily know that and this documentation could certainly be more clear. Test Plan: Read new text. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12001 Differential Revision: https://secure.phabricator.com/D17037
This commit is contained in:
parent
776a1f3aec
commit
8a2afa14d2
1 changed files with 4 additions and 4 deletions
|
@ -133,15 +133,15 @@ Engine: MySQL
|
|||
MySQL storage is configured by default, for files up to (just under) 1MB. You
|
||||
can configure it with these keys:
|
||||
|
||||
- `storage.mysql-engine.max-size`: Change the filesize limit. Set to 0
|
||||
to disable.
|
||||
- `storage.mysql-engine.max-size`: Change the filesize limit, in bytes. Set
|
||||
to 0 to disable.
|
||||
|
||||
For most installs, it is reasonable to leave this engine as-is and let small
|
||||
files (like thumbnails and profile images) be stored in MySQL, which is usually
|
||||
the lowest-latency filestore, even if you configure another storage engine.
|
||||
|
||||
To support large files, increase this limit to at least **8MB**. This will
|
||||
activate chunk storage in MySQL.
|
||||
To support large files, increase this limit to at least `8388608` (8MB).
|
||||
This will activate chunk storage in MySQL.
|
||||
|
||||
Engine: Local Disk
|
||||
==================
|
||||
|
|
Loading…
Reference in a new issue