@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

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

+4 -4
+4 -4
src/docs/user/configuration/configuring_file_storage.diviner
··· 133 133 MySQL storage is configured by default, for files up to (just under) 1MB. You 134 134 can configure it with these keys: 135 135 136 - - `storage.mysql-engine.max-size`: Change the filesize limit. Set to 0 137 - to disable. 136 + - `storage.mysql-engine.max-size`: Change the filesize limit, in bytes. Set 137 + to 0 to disable. 138 138 139 139 For most installs, it is reasonable to leave this engine as-is and let small 140 140 files (like thumbnails and profile images) be stored in MySQL, which is usually 141 141 the lowest-latency filestore, even if you configure another storage engine. 142 142 143 - To support large files, increase this limit to at least **8MB**. This will 144 - activate chunk storage in MySQL. 143 + To support large files, increase this limit to at least `8388608` (8MB). 144 + This will activate chunk storage in MySQL. 145 145 146 146 Engine: Local Disk 147 147 ==================