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:
		| @@ -133,15 +133,15 @@ Engine: MySQL | |||||||
| MySQL storage is configured by default, for files up to (just under) 1MB. You | MySQL storage is configured by default, for files up to (just under) 1MB. You | ||||||
| can configure it with these keys: | can configure it with these keys: | ||||||
|  |  | ||||||
|   - `storage.mysql-engine.max-size`: Change the filesize limit. Set to 0 |   - `storage.mysql-engine.max-size`: Change the filesize limit, in bytes. Set | ||||||
|     to disable. |     to 0 to disable. | ||||||
|  |  | ||||||
| For most installs, it is reasonable to leave this engine as-is and let small | 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 | files (like thumbnails and profile images) be stored in MySQL, which is usually | ||||||
| the lowest-latency filestore, even if you configure another storage engine. | the lowest-latency filestore, even if you configure another storage engine. | ||||||
|  |  | ||||||
| To support large files, increase this limit to at least **8MB**. This will | To support large files, increase this limit to at least `8388608` (8MB). | ||||||
| activate chunk storage in MySQL. | This will activate chunk storage in MySQL. | ||||||
|  |  | ||||||
| Engine: Local Disk | Engine: Local Disk | ||||||
| ================== | ================== | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 epriestley
					epriestley